summaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-09 08:05:37 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-09 08:05:37 +0000
commit6fd9d9ed7321615c61feb4e69fd61bdbaaf72faa (patch)
tree0a33fae6399f98ac8403629ba7f28166867d4eeb /config/routes.rb
parentb540046ed7084ba50f5ca280f3ffae0751af8142 (diff)
downloadredmine-6fd9d9ed7321615c61feb4e69fd61bdbaaf72faa.tar.gz
redmine-6fd9d9ed7321615c61feb4e69fd61bdbaaf72faa.zip
Import time entries (#28234).
Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18146 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4c65f976b..3c1fd0256 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -65,6 +65,7 @@ Rails.application.routes.draw do
get 'projects/:id/issues/report/:detail', :to => 'reports#issue_report_details', :as => 'project_issues_report_details'
get '/issues/imports/new', :to => 'imports#new', :defaults => { :type => 'IssueImport' }, :as => 'new_issues_import'
+ get '/time_entries/imports/new', :to => 'imports#new', :defaults => { :type => 'TimeEntryImport' }, :as => 'new_time_entries_import'
post '/imports', :to => 'imports#create', :as => 'imports'
get '/imports/:id', :to => 'imports#show', :as => 'import'
match '/imports/:id/settings', :to => 'imports#settings', :via => [:get, :post], :as => 'import_settings'