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-02-03 00:23:26 +0300
committerMatija Čupić <matteeyah@gmail.com>2018-02-03 00:23:26 +0300
commit1dbcd5ec47980e8c2a38630caec6ccf93d142285 (patch)
tree632cdeea0e167e89574e95af3c381c52b40c3fd7 /config/routes.rb
parent8f942a0534384f73cfa8686a0c67ec6451c5c39b (diff)
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