From dbda87c31f7d7ede7312ba422940841d8c96c171 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 8 Jan 2018 10:57:52 +0100 Subject: Revert #5772 (#6221) --- config/routes.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 21ad0a93f..80a2c6d13 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -54,8 +54,7 @@ Rails.application.routes.draw do resources :followers, only: [:index], controller: :follower_accounts resources :following, only: [:index], controller: :following_accounts - resources :follows, only: [:show], module: :activitypub - resource :follow, only: [:create], controller: :account_follow, as: :follows + resource :follow, only: [:create], controller: :account_follow resource :unfollow, only: [:create], controller: :account_unfollow resource :outbox, only: [:show], module: :activitypub resource :inbox, only: [:create], module: :activitypub -- cgit