Fix pagination on profile page
This commit is contained in:
parent
0925d0adde
commit
dec2765522
@ -10,7 +10,7 @@ class UsersController < ApplicationController
|
||||
|
||||
def show
|
||||
user = User.real_for_username!(params[:username])
|
||||
render locals: { page: UserPagePresenter.build(user, current_user) }
|
||||
render locals: { page: UserPagePresenter.build(user, current_user, params[:page]) }
|
||||
end
|
||||
|
||||
def create
|
||||
|
Loading…
Reference in New Issue
Block a user