From 8bd8ea7c0406a8eeb145471475b105366e195e6a Mon Sep 17 00:00:00 2001 From: Evan Minto Date: Sat, 4 Feb 2017 14:49:24 -0800 Subject: Remove unnecessary leftover code --- 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 f831c4239..4d0138b82 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -154,9 +154,7 @@ Rails.application.routes.draw do end namespace :activitypub do - resources :accounts do - get '/:id', to: 'accounts#show' - end + resources :accounts, only: [:show] end namespace :web do -- cgit