summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 15:30:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 15:30:32 +0000
commit063ae06b0967cf8480e3ee08d6930c00dbc88e9a (patch)
treec0f9a3d434330cf4e5133d1da2fa530e3f367520 /config/routes.rb
parenta669dfbd7f9408b4d341977a6d9c79bafb11b281 (diff)
downloadredmine-063ae06b0967cf8480e3ee08d6930c00dbc88e9a.tar.gz
redmine-063ae06b0967cf8480e3ee08d6930c00dbc88e9a.zip
Gantt routes with format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5280 e93f8b46-1217-0410-a6f0-8f06a7374b81
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|