diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 61a580097..63f779a16 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -98,7 +98,7 @@ RedmineApp::Application.routes.draw do match 'copy', :via => [:get, :post] end - resources :memberships, :shallow => true, :controller => 'members', :only => [:index, :show, :create, :update, :destroy] do + resources :memberships, :shallow => true, :controller => 'members', :only => [:index, :show, :new, :create, :update, :destroy] do collection do get 'autocomplete' end @@ -295,6 +295,7 @@ RedmineApp::Application.routes.draw do end end resources :enumerations, :except => :show + match 'enumerations/:type', :to => 'enumerations#index', :via => :get get 'projects/:id/search', :controller => 'search', :action => 'index' get 'search', :controller => 'search', :action => 'index' |