Refactor: extract TimelogController#create from TimelogController#edit
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4244 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+2
-1
@@ -40,7 +40,8 @@ ActionController::Routing::Routes.draw do |map|
|
||||
timelog.with_options :action => 'new', :conditions => {:method => :get} do |time_edit|
|
||||
time_edit.connect 'issues/:issue_id/time_entries/new'
|
||||
end
|
||||
|
||||
|
||||
timelog.connect 'projects/:project_id/timelog/edit', :action => 'create', :conditions => {:method => :post}
|
||||
timelog.connect 'time_entries/:id/destroy', :action => 'destroy', :conditions => {:method => :post}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user