summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-06 18:23:45 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-06 18:23:45 +0000
commit2ecca7e4df96cba3fe5ab75997ca179cd62968f8 (patch)
tree460a880a724dad450f262b175fb54fb89ff5e573 /config
parentc43ef6e7696e1f9684099a7a19d3b71b42ac5a06 (diff)
downloadredmine-2ecca7e4df96cba3fe5ab75997ca179cd62968f8.tar.gz
redmine-2ecca7e4df96cba3fe5ab75997ca179cd62968f8.zip
Refactor: rename TimelogController#details to #index
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4235 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 32ab0ca37..87aefa806 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -19,9 +19,9 @@ ActionController::Routing::Routes.draw do |map|
map.connect 'projects/:project_id/issues/:issue_id/time_entries/new', :action => 'edit', :controller => 'timelog'
map.with_options :controller => 'timelog' do |timelog|
- timelog.connect 'projects/:project_id/time_entries', :action => 'details'
+ timelog.connect 'projects/:project_id/time_entries', :action => 'index'
- timelog.with_options :action => 'details', :conditions => {:method => :get} do |time_details|
+ timelog.with_options :action => 'index', :conditions => {:method => :get} do |time_details|
time_details.connect 'time_entries'
time_details.connect 'time_entries.:format'
time_details.connect 'issues/:issue_id/time_entries'