summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-13 20:35:03 +0000
commit41c055363ee4826799b9ffe7d76fd399c89190d3 (patch)
tree78321389f47072812eeb42dc6d5759f8c15addbb /config
parent12e10f6956fcd276fc3da19beb0c7bf4ade5f0da (diff)
downloadredmine-41c055363ee4826799b9ffe7d76fd399c89190d3.tar.gz
redmine-41c055363ee4826799b9ffe7d76fd399c89190d3.zip
Refactor: split FilesController#new into #new and #create.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4084 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 129c3b456..152b90f54 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -196,7 +196,7 @@ ActionController::Routing::Routes.draw do |map|
end
project_mapper.with_options :conditions => {:method => :post} do |project_actions|
- project_actions.connect 'projects/:id/files/new', :controller => 'files', :action => 'new'
+ project_actions.connect 'projects/:id/files/new', :controller => 'files', :action => 'create'
end
end