From 2ecca7e4df96cba3fe5ab75997ca179cd62968f8 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 6 Oct 2010 18:23:45 +0000 Subject: Refactor: rename TimelogController#details to #index git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4235 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') 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' -- cgit v1.2.3