Class: OpenStax::Connect::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
Lev::HandleWith
Defined in:
app/controllers/openstax/connect/application_controller.rb

Direct Known Subclasses

Dev::DevController, SessionsController

Instance Method Summary collapse

Instance Method Details

#current_userObject

Override current_user to always return an OpenStax::Connect::User



8
9
10
# File 'app/controllers/openstax/connect/application_controller.rb', line 8

def current_user
  current_user_manager.connect_current_user
end