list of users following/followed by user

This commit is contained in:
Dylan Knutson
2025-02-28 02:37:39 +00:00
parent fbd146484f
commit 87993562eb
5 changed files with 93 additions and 24 deletions

View File

@@ -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