Adding public following and followers pages, fix #3
This commit is contained in:
parent
c349200761
commit
71ae4dd3d2
14 changed files with 220 additions and 28 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue