summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-09-14 03:40:37 +0000
committerGo MAEDA <maeda@farend.jp>2018-09-14 03:40:37 +0000
commit156b8e2ee638428cfa1387d783237a82c573f9cd (patch)
treeec943afeb8236b06a695624befaaa3883b9774a0 /config/routes.rb
parentf288ccb9871fc4d5271b3d5c40a68f487c5b4ae5 (diff)
downloadredmine-156b8e2ee638428cfa1387d783237a82c573f9cd.tar.gz
redmine-156b8e2ee638428cfa1387d783237a82c573f9cd.zip
Allow project bulk edit of time entries (#26534).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8b8aa1311..f61f2e067 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -156,7 +156,7 @@ Rails.application.routes.draw do
end
end
end
-
+
match 'wiki/index', :controller => 'wiki', :action => 'index', :via => :get
resources :wiki, :except => [:index, :create], :as => 'wiki_page' do
member do
@@ -232,6 +232,8 @@ Rails.application.routes.draw do
match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete
# Used to update the new time entry form
post '/time_entries/new', :to => 'timelog#new'
+ # Used to update the bulk edit time entry form
+ post '/time_entries/bulk_edit', :to => 'timelog#bulk_edit'
get 'projects/:id/activity', :to => 'activities#index', :as => :project_activity
get 'activity', :to => 'activities#index'