diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:02:30 +0100 |
commit | 71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (patch) | |
tree | 024ff59a43fb775105dd9936a094fb206725231e /config | |
parent | c349200761bdbf5beac22648da07b0768addc4d6 (diff) |
Adding public following and followers pages, fix #3
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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] |