diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-09-11 22:46:02 +0200 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-09-12 20:12:16 +0200 |
commit | 55d2953ab1b9e6b64283e89d452f721860e04a4e (patch) | |
tree | 7a6be9ed49e58b7f6c909979821efc54f42403ca /config/routes.rb | |
parent | 67f3bf3af8a3f178f07fe7f08b3eea59f3db865b (diff) | |
download | gitlab-ce-55d2953ab1b9e6b64283e89d452f721860e04a4e.tar.gz |
Fix route deprecation warnings in rails 5
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index e2e97b46d23..1242bbbf932 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -31,7 +31,7 @@ Rails.application.routes.draw do # Having a non-existent controller here does not affect the scope in any way since all possible routes # get a 404 proc returned. It is written in this way to minimize merge conflicts with EE scope path: '/login/oauth', controller: 'oauth/jira/authorizations', as: :oauth_jira do - match ':action', via: [:get, :post], to: proc { [404, {}, ['']] } + match '*all', via: [:get, :post], to: proc { [404, {}, ['']] } end use_doorkeeper_openid_connect |