diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 52351d6b..740e35a4 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -40,6 +40,6 @@ class UserController < ApplicationController def questions @title = 'Questions' @user = User.where('LOWER(screen_name) = ?', params[:username].downcase).first - @questions = @user.questions.reverse_order.paginate(page: params[:page]) + @questions = @user.questions.where(author_is_anonymous: false).reverse_order.paginate(page: params[:page]) end end