Add spec coverage and refactor authorize_follows controller (#2505)

This commit is contained in:
Matt Jankowski
2017-04-26 18:19:53 -04:00
committed by Eugen Rochko
parent a23eaf720e
commit 0618f09939
8 changed files with 170 additions and 53 deletions

View File

@ -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]