Refactor: extract TimelogController#edit to #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -15,6 +15,7 @@ ActionController::Routing::Routes.draw do |map|
|
||||
map.connect 'help/:ctrl/:page', :controller => 'help'
|
||||
|
||||
map.connect 'time_entries/:id/edit', :action => 'edit', :controller => 'timelog'
|
||||
map.connect 'time_entries/:id', :action => 'update', :controller => 'timelog', :conditions => {:method => :put}
|
||||
map.connect 'projects/:project_id/time_entries/new', :action => 'new', :controller => 'timelog'
|
||||
map.connect 'projects/:project_id/issues/:issue_id/time_entries/new', :action => 'new', :controller => 'timelog'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user