Mercurial > hg > soundsoftware-site
changeset 220:3fecad619aa3 feature_75
* Ensure route requires post action
author | Chris Cannam |
---|---|
date | Thu, 10 Feb 2011 13:43:27 +0000 |
parents | ccfa5126279e |
children | 984e4ee774f1 017c49d4acde |
files | config/routes.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/config/routes.rb Wed Feb 02 12:14:28 2011 +0000 +++ b/config/routes.rb Thu Feb 10 13:43:27 2011 +0000 @@ -236,7 +236,7 @@ map.with_options :controller => 'sys' do |sys| sys.connect 'sys/projects.:format', :action => 'projects', :conditions => {:method => :get} sys.connect 'sys/projects/:id/repository.:format', :action => 'create_project_repository', :conditions => {:method => :post} - sys.connect 'sys/projects/:id/embedded.:format', :action => 'set_embedded_active', :conditions => { :method => :get } #todo: should be post + sys.connect 'sys/projects/:id/embedded.:format', :action => 'set_embedded_active', :conditions => { :method => :post } end # Install the default route as the lowest priority.