summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 97e950c5b..3a096e127 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -215,6 +215,10 @@ Rails.application.routes.draw do
match '/time_entries/context_menu', :to => 'context_menus#time_entries', :as => :time_entries_context_menu, :via => [:get, :post]
resources :time_entries, :controller => 'timelog', :except => :destroy do
+ member do
+ # Used when updating the edit form of an existing time entry
+ patch 'edit', :to => 'timelog#edit'
+ end
collection do
get 'report'
get 'bulk_edit'