Adding public following and followers pages, fix #3
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user