Module: Katello::Api::ApiController
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/controllers/katello/concerns/api/api_controller.rb
Instance Method Summary collapse
-
#current_user ⇒ Object
override warden current_user (returns nil because there is no user in that scope).
Instance Method Details
#current_user ⇒ Object
override warden current_user (returns nil because there is no user in that scope)
14 15 16 17 |
# File 'app/controllers/katello/concerns/api/api_controller.rb', line 14 def current_user # get the logged user from the correct scope User.current end |