summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-06 09:47:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-06 09:47:10 +0000
commitc5665276b7a465f29230341f8800af4f77b3c141 (patch)
tree63789c1cb348d3a95bfe3a11dd4852809191202e /config
parent942651ecdfd860b9da68254b2a7d0919dc8151d2 (diff)
downloadredmine-c5665276b7a465f29230341f8800af4f77b3c141.tar.gz
redmine-c5665276b7a465f29230341f8800af4f77b3c141.zip
REST API for project memberships (#7420).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 66f0182be..583eff755 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -170,7 +170,7 @@ ActionController::Routing::Routes.draw do |map|
project.resources :repositories, :shallow => true, :except => [:index, :show],
:member => {:committers => [:get, :post]}
project.resources :memberships, :shallow => true, :controller => 'members',
- :only => [:create, :update, :destroy],
+ :only => [:index, :show, :create, :update, :destroy],
:collection => {:autocomplete => :get}
project.wiki_start_page 'wiki', :controller => 'wiki', :action => 'show', :conditions => {:method => :get}