Class: ApplicationController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/application_controller.rb

Overview

contains errors related to authentication and token parsing methods

Author:

Direct Known Subclasses

AdminsController, Api::AdminsController, Api::NotificationController, Api::VerificationController, ApiController, AuthController, AutoCompleteController, ErrorsController, SearchController, UserController

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) current_user (readonly)

Returns the value of attribute current_user



15
16
17
# File 'app/controllers/application_controller.rb', line 15

def current_user
  @current_user
end