Fixed: file upload on wiki page broken by recent refactoring (#6724).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4274 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-10-22 17:38:05 +00:00
1 parent 432b00df40
commit d9652183f6
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ ActionController::Routing::Routes.draw do |map|
end
wiki_routes.connect 'projects/:project_id/wiki/:page/:action',
:action => /rename|destroy|preview|protect/,
:action => /rename|destroy|preview|protect|add_attachment/,
:conditions => {:method => :post}
wiki_routes.connect 'projects/:project_id/wiki/:page/edit', :action => 'update', :conditions => {:method => :post}