diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 7e770b5..4abbcdb 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -4,7 +4,7 @@ class UsersController < ApplicationController before_action :authenticate_user!, except: :show before_action :authenticate_user_or_client!, only: :show - load_and_authorize_resource + load_and_authorize_resource except: :show def show @user = User.find_by_name(params[:id]) || User.new