Name route to ease testing

pull/3451/head
Alexander Bach 9 years ago committed by Peter Lehwess
parent 114c85fa65
commit 2f846435ce
  1. 2
      config/routes.rb

@ -477,7 +477,7 @@ OpenProject::Application.routes.draw do
resources :users do
member do
match '/edit/:tab' => 'users#edit', via: :get
match '/edit/:tab' => 'users#edit', via: :get, as: 'tab_edit'
match '/memberships/:membership_id/destroy' => 'users#destroy_membership', via: :post
match '/memberships/:membership_id' => 'users#edit_membership', via: :post
match '/memberships' => 'users#edit_membership', via: :post

Loading…
Cancel
Save