@@ -114,17 +114,17 ActionController::Routing::Routes.draw do |map| | |||||
114 | issues_views.connect 'projects/:project_id/issues.:format', :action => 'index' |
|
114 | issues_views.connect 'projects/:project_id/issues.:format', :action => 'index' | |
115 | issues_views.connect 'projects/:project_id/issues/new', :action => 'new' |
|
115 | issues_views.connect 'projects/:project_id/issues/new', :action => 'new' | |
116 | issues_views.connect 'projects/:project_id/issues/:copy_from/copy', :action => 'new' |
|
116 | issues_views.connect 'projects/:project_id/issues/:copy_from/copy', :action => 'new' | |
117 | issues_views.connect 'issues/:id', :action => 'show' |
|
117 | issues_views.connect 'issues/:id', :action => 'show', :id => /\d+/ | |
118 | issues_views.connect 'issues/:id.:format', :action => 'show' |
|
118 | issues_views.connect 'issues/:id.:format', :action => 'show', :id => /\d+/ | |
119 | issues_views.connect 'issues/:id/edit', :action => 'edit' |
|
119 | issues_views.connect 'issues/:id/edit', :action => 'edit', :id => /\d+/ | |
120 | issues_views.connect 'issues/:id/move', :action => 'move' |
|
120 | issues_views.connect 'issues/:id/move', :action => 'move', :id => /\d+/ | |
121 | end |
|
121 | end | |
122 | issues_routes.with_options :conditions => {:method => :post} do |issues_actions| |
|
122 | issues_routes.with_options :conditions => {:method => :post} do |issues_actions| | |
123 | issues_actions.connect 'projects/:project_id/issues', :action => 'new' |
|
123 | issues_actions.connect 'projects/:project_id/issues', :action => 'new' | |
124 | issues_actions.connect 'issues/:id/quoted', :action => 'reply' |
|
124 | issues_actions.connect 'issues/:id/quoted', :action => 'reply', :id => /\d+/ | |
125 | issues_actions.connect 'issues/:id/:action', |
|
125 | issues_actions.connect 'issues/:id/:action', :action => /edit|move|destroy/, :id => /\d+/ | |
126 | :action => /edit|move|destroy/ |
|
|||
127 | end |
|
126 | end | |
|
127 | issues_routes.connect 'issues/:action' | |||
128 | end |
|
128 | end | |
129 |
|
129 | |||
130 | map.with_options :controller => 'issue_relations', :conditions => {:method => :post} do |relations| |
|
130 | map.with_options :controller => 'issue_relations', :conditions => {:method => :post} do |relations| |
General Comments 0
You need to be logged in to leave comments.
Login now