summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f1fc59331..db458be75 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -82,7 +82,8 @@ ActionController::Routing::Routes.draw do |map|
map.with_options :controller => 'gantts', :action => 'show' do |gantts_routes|
gantts_routes.connect '/projects/:project_id/issues/gantt'
- gantts_routes.connect '/issues/gantt'
+ gantts_routes.connect '/projects/:project_id/issues/gantt.:format'
+ gantts_routes.connect '/issues/gantt.:format'
end
map.with_options :controller => 'calendars', :action => 'show' do |calendars_routes|