about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-06 21:27:58 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-06 21:27:58 +0200
commit3554d638b31aa5ace2aa524db0165932c15d9a71 (patch)
treed20d71469f6077daf83a6996f4143dd393924b68 /config/routes.rb
parent87ba52ad3f1e32b0608bb6c6ffb226c1988267a3 (diff)
Fix #72 - add follow/unfollow button to public profiles
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4a32cdaa2..8f9e5fe14 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -25,6 +25,9 @@ Rails.application.routes.draw do
     member do
       get :followers
       get :following
+
+      post :follow
+      post :unfollow
     end
   end