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:
authorMatija Čupić <matteeyah@gmail.com>2018-01-27 20:44:14 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-01-27 20:44:14 +0300
commit8be4f3ecf480b64284bd0d2ed31f59f332df1bae (patch)
treeb41506dec0f486bda18145d4d632158285548e63 /config/routes.rb
parentec6c5833b62df7ff1fe69d4b874762713b4068a5 (diff)
Move Callouts route to - path
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f768bcebc7e..abd626119ca 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -60,6 +60,11 @@ Rails.application.routes.draw do
resources :issues, module: :boards, only: [:index, :update]
end
+
+ # Callouts
+ namespace :callouts do
+ post :dismiss
+ end
end
# Koding route
@@ -90,11 +95,6 @@ Rails.application.routes.draw do
# Notification settings
resources :notification_settings, only: [:create, :update]
- # Callouts
- namespace :callouts do
- post :dismiss
- end
-
draw :google_api
draw :import
draw :uploads