mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 17:56:03 +01:00
shorten long line of config/routes.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20355 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -67,9 +67,12 @@ Rails.application.routes.draw do
|
||||
get 'projects/:id/issues/report', :to => 'reports#issue_report', :as => 'project_issues_report'
|
||||
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'
|
||||
get '/users/imports/new', :to => 'imports#new', :defaults => { :type => 'UserImport' }, :as => 'new_users_import'
|
||||
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'
|
||||
get '/users/imports/new', :to => 'imports#new',
|
||||
:defaults => {:type => 'UserImport'}, :as => 'new_users_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'
|
||||
|
||||
Reference in New Issue
Block a user