summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-01-27 18:44:14 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-01-27 18:44:14 +0100
commit8be4f3ecf480b64284bd0d2ed31f59f332df1bae (patch)
treeb41506dec0f486bda18145d4d632158285548e63
parentec6c5833b62df7ff1fe69d4b874762713b4068a5 (diff)
downloadgitlab-ce-8be4f3ecf480b64284bd0d2ed31f59f332df1bae.tar.gz
Move Callouts route to - path
-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