Show user's activity right on their profile screen

This commit is contained in:
Jason Zimdars
2025-05-22 16:18:28 -05:00
parent f105f17656
commit 7ee65608c9
5 changed files with 85 additions and 72 deletions
+2 -3
View File
@@ -1,4 +1,5 @@
class UsersController < ApplicationController
include UserTimelineScoped
require_unauthenticated_access only: %i[ new create ]
before_action :set_user, only: %i[ show edit update destroy ]
@@ -6,6 +7,7 @@ class UsersController < ApplicationController
before_action :ensure_permission_to_change_user, only: %i[ update destroy ]
def index
@filters = Current.user.filters.all
@users = User.active
end
@@ -19,9 +21,6 @@ class UsersController < ApplicationController
redirect_to root_path
end
def show
end
def edit
end