mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 06:49:30 +08:00
A bunch of tweaks to the Users directory
- Move user directory from `/directory` to `/users/` - Defaults to 'weekly' time period - Don't include deleted topics/posts in the results - Move heart icon to header instead of on each row - "Users" instead of "Users found"
This commit is contained in:
@ -25,6 +25,9 @@ class UsersController < ApplicationController
|
||||
:authorize_email,
|
||||
:password_reset]
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
def show
|
||||
@user = fetch_user_from_params
|
||||
user_serializer = UserSerializer.new(@user, scope: guardian, root: 'user')
|
||||
|
Reference in New Issue
Block a user