about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-01-08 10:57:52 +0100
committerGitHub <noreply@github.com>2018-01-08 10:57:52 +0100
commitdbda87c31f7d7ede7312ba422940841d8c96c171 (patch)
tree281593f9871d93329fdaf0f2337ee0ced23540b9 /config
parente4a241abefaa68492938c3fbb7e5e5401d12138e (diff)
Revert #5772 (#6221)
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 1 insertions, 2 deletions
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