summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-05-30 08:38:35 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-05-30 08:38:35 +0000
commit216a153421b05bce4d4e64b590889b740367b92e (patch)
treea01c6009db7d9aefc80ea09b073e1ca48131ffab /config
parentaffeabcc526449057b29ca636f456234a87798b6 (diff)
downloadredmine-216a153421b05bce4d4e64b590889b740367b92e.tar.gz
redmine-216a153421b05bce4d4e64b590889b740367b92e.zip
Update activities list when changing project/issue id on the time entry form (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14287 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 142fa915f..30cb694ff 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -215,6 +215,8 @@ Rails.application.routes.draw do
match '/time_entries/:id', :to => 'timelog#destroy', :via => :delete, :id => /\d+/
# TODO: delete /time_entries for bulk deletion
match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete
+ # Used to update the new time entry form
+ post '/time_entries/new', :to => 'timelog#new'
get 'projects/:id/activity', :to => 'activities#index', :as => :project_activity
get 'activity', :to => 'activities#index'