diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-18 15:27:49 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-18 15:27:49 +0000 |
commit | c06c22cf2e29dc0a4a0b2b9dd67a867b370a21f9 (patch) | |
tree | 421d11e577a2a2e4181ed50b9c3e8b90e83611fe /config | |
parent | fef21d5aa2d6108f39aa015ca29da31d888db026 (diff) | |
download | redmine-c06c22cf2e29dc0a4a0b2b9dd67a867b370a21f9.tar.gz redmine-c06c22cf2e29dc0a4a0b2b9dd67a867b370a21f9.zip |
Refactor: extract method from WikiController#special
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4261 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 53a720f06..7bfb5b621 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -31,7 +31,7 @@ ActionController::Routing::Routes.draw do |map| wiki_routes.with_options :conditions => {:method => :get} do |wiki_views| wiki_views.connect 'projects/:id/wiki/export', :action => 'export' wiki_views.connect 'projects/:id/wiki/page_index', :action => 'page_index' - wiki_views.connect 'projects/:id/wiki/:page', :action => 'special', :page => /date_index/i + wiki_views.connect 'projects/:id/wiki/date_index', :action => 'date_index' wiki_views.connect 'projects/:id/wiki/:page', :action => 'index', :page => nil wiki_views.connect 'projects/:id/wiki/:page/edit', :action => 'edit' wiki_views.connect 'projects/:id/wiki/:page/rename', :action => 'rename' |