diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-14 08:03:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-14 08:03:51 +0000 |
commit | 3da7b1bc2882cfb02c5068680979158322242398 (patch) | |
tree | 87ed265520ff93243dbd7c1074e47f5e37c7abac /config/routes.rb | |
parent | b17883a2dff6cd49ea407b449ac0e97dca38e56a (diff) | |
download | redmine-3da7b1bc2882cfb02c5068680979158322242398.tar.gz redmine-3da7b1bc2882cfb02c5068680979158322242398.zip |
Implements /issues/new form for creating issues outside a project (#1003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index a32ec76ef..142fa915f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -185,6 +185,8 @@ Rails.application.routes.draw do resources :relations, :controller => 'issue_relations', :only => [:index, :show, :create, :destroy] end end + # Used when updating the form of a new issue outside a project + post '/issues/new', :to => 'issues#new' match '/issues', :controller => 'issues', :action => 'destroy', :via => :delete resources :queries, :except => [:show] |