From 1dbcd5ec47980e8c2a38630caec6ccf93d142285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20=C4=8Cupi=C4=87?= Date: Fri, 2 Feb 2018 22:23:26 +0100 Subject: Refactor CalloutsController --- config/routes.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config/routes.rb') 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 -- cgit v1.2.1