diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 05dfedb7..7afe179a 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -1,5 +1,5 @@ class UserController < ApplicationController - before_action :authenticate_user!, only: %w[edit update edit_privacy update_privacy data export begin_export edit_security update_2fa destroy_2fa reset_user_recovery_codes edit_mute] + before_action :authenticate_user!, only: %w[edit_privacy update_privacy data export begin_export edit_security update_2fa destroy_2fa reset_user_recovery_codes edit_mute] def show @user = User.where('LOWER(screen_name) = ?', params[:username].downcase).includes(:profile).first!