list of users following/followed by user
This commit is contained in:
@@ -29,6 +29,9 @@ Rails.application.routes.draw do
|
||||
} do
|
||||
get :search_by_name, on: :collection
|
||||
|
||||
get "followed_by", on: :member, action: :followed_by
|
||||
get "following", on: :member, action: :following
|
||||
|
||||
resources :posts, only: [], controller: "domain/posts", path: "" do
|
||||
get :favorites, on: :collection, action: :user_favorite_posts
|
||||
get :posts, on: :collection, action: :user_created_posts
|
||||
|
||||
Reference in New Issue
Block a user