admin_user

in app/controllers/users_controller.rb [80:83]


    def admin_user
      redirect_to(root_url, status: :see_other) unless current_user.admin?
    end