diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-05-03 16:02:37 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-05-03 16:02:37 +0000 |
commit | 36c82ecc1f0da922014c480930500896750b1e03 (patch) | |
tree | aae1ce92979307cf1f98c340eee3b9794f0b3852 /config | |
parent | 469ff0fb4e44f61c1bfdcbffb785f54d1f82035d (diff) | |
download | redmine-36c82ecc1f0da922014c480930500896750b1e03.tar.gz redmine-36c82ecc1f0da922014c480930500896750b1e03.zip |
Refactor: move Project Calendar to it's own controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3732 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 8571e77d3..58e620eab 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -111,7 +111,7 @@ 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/gantt', :controller => 'gantts', :action => 'show' - issues_views.connect 'projects/:project_id/issues/calendar', :action => 'calendar' + issues_views.connect 'projects/:project_id/issues/calendar', :controller => 'calendars', :action => 'show' issues_views.connect 'projects/:project_id/issues/:copy_from/copy', :action => 'new' issues_views.connect 'issues/:id', :action => 'show', :id => /\d+/ issues_views.connect 'issues/:id.:format', :action => 'show', :id => /\d+/ @@ -122,6 +122,7 @@ ActionController::Routing::Routes.draw do |map| issues_actions.connect 'issues', :action => 'index' issues_actions.connect 'projects/:project_id/issues', :action => 'create' issues_actions.connect 'projects/:project_id/issues/gantt', :controller => 'gantts', :action => 'show' + issues_actions.connect 'projects/:project_id/issues/calendar', :controller => 'calendars', :action => 'show' issues_actions.connect 'issues/:id/quoted', :action => 'reply', :id => /\d+/ issues_actions.connect 'issues/:id/:action', :action => /edit|move|destroy/, :id => /\d+/ issues_actions.connect 'issues.:format', :action => 'create', :format => /xml/ @@ -134,6 +135,7 @@ ActionController::Routing::Routes.draw do |map| issues_actions.connect 'issues/:id.:format', :action => 'destroy', :id => /\d+/, :format => /xml/ end issues_routes.connect 'issues/gantt', :controller => 'gantts', :action => 'show' + issues_routes.connect 'issues/calendar', :controller => 'calendars', :action => 'show' issues_routes.connect 'issues/:action' end |