From 71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 14:02:30 +0100 Subject: Adding public following and followers pages, fix #3 --- config/routes.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 3dd6e3469..2c7b3aa32 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -14,6 +14,11 @@ Rails.application.routes.draw do resources :accounts, path: 'users', only: [:show], param: :username do resources :stream_entries, path: 'updates', only: [:show] + + member do + get :followers + get :following + end end resource :settings, only: [:show, :update] -- cgit