From 435c90eb478e705dff9ea239fd280a958a4287e3 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 11 Oct 2010 15:31:42 +0000 Subject: Refactor: extract TimelogController#edit to #update git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') 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' -- cgit v1.2.3