Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-09-11 23:46:02 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2018-09-12 21:12:16 +0300
commit55d2953ab1b9e6b64283e89d452f721860e04a4e (patch)
tree7a6be9ed49e58b7f6c909979821efc54f42403ca /config/routes
parent67f3bf3af8a3f178f07fe7f08b3eea59f3db865b (diff)
Fix route deprecation warnings in rails 5
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/project.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 4021d62b931..8a5310b5c23 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -145,7 +145,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
- controller 'merge_requests/creations', path: 'merge_requests' do
+ scope path: 'merge_requests', controller: 'merge_requests/creations' do
post '', action: :create, as: nil
scope path: 'new', as: :new_merge_request do