From c5665276b7a465f29230341f8800af4f77b3c141 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 6 Feb 2012 09:47:10 +0000 Subject: REST API for project memberships (#7420). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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} -- cgit v1.2.3