about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-29 16:54:54 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-29 16:54:54 +0100
commitd7dc84439c60069a0cb9eeca81dc61c297a8667b (patch)
tree167ee6db4fdc7008e2e517a0e983edb9721f4a7a /config/routes.rb
parent8b94d283fb45f054ee5193b0cec8586461d636b1 (diff)
Add ability to use remote follow function on other sites
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 985d6583d..1468d426b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -48,6 +48,10 @@ Rails.application.routes.draw do
   resources :media, only: [:show]
   resources :tags,  only: [:show]
 
+  # Remote follow
+  get  :authorize_follow, to: 'authorize_follow#new'
+  post :authorize_follow, to: 'authorize_follow#create'
+
   namespace :admin do
     resources :pubsubhubbub, only: [:index]
     resources :domain_blocks, only: [:index, :create]