Refactor: rename TimelogController#details to #index
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4235 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+2
-2
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user