summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-11 15:31:42 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-11 15:31:42 +0000
commit435c90eb478e705dff9ea239fd280a958a4287e3 (patch)
tree531e116594529af7016f7360d78ae67e7e9cdacd /config
parent700c302fca1ef401eff2744ffc5d955406136b17 (diff)
downloadredmine-435c90eb478e705dff9ea239fd280a958a4287e3.tar.gz
redmine-435c90eb478e705dff9ea239fd280a958a4287e3.zip
Refactor: extract TimelogController#edit to #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 702bcf89e..9e8a75a53 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -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'