From 0618f09939b7afc607bcd983139b91e056debe4d Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 26 Apr 2017 18:19:53 -0400 Subject: Add spec coverage and refactor authorize_follows controller (#2505) --- config/routes.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index 34c4fca4c..9adaffcaf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -71,8 +71,7 @@ Rails.application.routes.draw do resources :tags, only: [:show] # Remote follow - get :authorize_follow, to: 'authorize_follow#new' - post :authorize_follow, to: 'authorize_follow#create' + resource :authorize_follow, only: [:show, :create] namespace :admin do resources :pubsubhubbub, only: [:index] -- cgit