Module: ApiUserAuth::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/api_user_auth/controller.rb
Overview
Base controller module
Instance Method Summary collapse
Instance Method Details
#auth_user_unauthorized(exception) ⇒ Object
11 12 13 |
# File 'lib/api_user_auth/controller.rb', line 11 def (exception) render json: { message: exception. }, status: 401 end |