Fixed actions on issues (gantt, calendar, move, bulk_edit...) at global level broken by r2317.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2320 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e1f96ca4db
commit
a4544b0b26
|
@ -114,17 +114,17 @@ ActionController::Routing::Routes.draw do |map|
|
|||
issues_views.connect 'projects/:project_id/issues.:format', :action => 'index'
|
||||
issues_views.connect 'projects/:project_id/issues/new', :action => 'new'
|
||||
issues_views.connect 'projects/:project_id/issues/:copy_from/copy', :action => 'new'
|
||||
issues_views.connect 'issues/:id', :action => 'show'
|
||||
issues_views.connect 'issues/:id.:format', :action => 'show'
|
||||
issues_views.connect 'issues/:id/edit', :action => 'edit'
|
||||
issues_views.connect 'issues/:id/move', :action => 'move'
|
||||
issues_views.connect 'issues/:id', :action => 'show', :id => /\d+/
|
||||
issues_views.connect 'issues/:id.:format', :action => 'show', :id => /\d+/
|
||||
issues_views.connect 'issues/:id/edit', :action => 'edit', :id => /\d+/
|
||||
issues_views.connect 'issues/:id/move', :action => 'move', :id => /\d+/
|
||||
end
|
||||
issues_routes.with_options :conditions => {:method => :post} do |issues_actions|
|
||||
issues_actions.connect 'projects/:project_id/issues', :action => 'new'
|
||||
issues_actions.connect 'issues/:id/quoted', :action => 'reply'
|
||||
issues_actions.connect 'issues/:id/:action',
|
||||
:action => /edit|move|destroy/
|
||||
issues_actions.connect 'issues/:id/quoted', :action => 'reply', :id => /\d+/
|
||||
issues_actions.connect 'issues/:id/:action', :action => /edit|move|destroy/, :id => /\d+/
|
||||
end
|
||||
issues_routes.connect 'issues/:action'
|
||||
end
|
||||
|
||||
map.with_options :controller => 'issue_relations', :conditions => {:method => :post} do |relations|
|
||||
|
|
Loading…
Reference in New Issue