Makes enumerations available through the REST API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10664 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
fcb22595d0
commit
d62b90db73
8 files changed
+91
-8
No files matched your search
+2
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user