summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-02 22:23:26 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-02 22:23:26 +0100
commit1dbcd5ec47980e8c2a38630caec6ccf93d142285 (patch)
tree632cdeea0e167e89574e95af3c381c52b40c3fd7 /config/routes.rb
parent8f942a0534384f73cfa8686a0c67ec6451c5c39b (diff)
downloadgitlab-ce-1dbcd5ec47980e8c2a38630caec6ccf93d142285.tar.gz
Refactor CalloutsController
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb
index abd626119ca..827de9d5b40 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -62,9 +62,7 @@ Rails.application.routes.draw do
end
# Callouts
- namespace :callouts do
- post :dismiss
- end
+ resources :callouts, only: [:create]
end
# Koding route