Class: Gaku::Api::V1::BaseController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- Gaku::Api::V1::BaseController
- Includes:
- ActionController::MimeResponds
- Defined in:
- app/controllers/gaku/api/v1/base_controller.rb
Direct Known Subclasses
AuthenticationController, ClassGroups::EnrollmentsController, ClassGroups::StudentsController, ContactTypesController, ContactsController, Courses::EnrollmentsController, Courses::StudentsController, CoursesController, EnrollmentsController, Students::ClassGroupsController, Students::CoursesController, Students::ExamSessionsController, Students::ExtracurricularActivitiesController, Students::GuardiansController, Students::StudentGuardiansController, StudentsController, SyllabusesController
Instance Attribute Summary collapse
-
#current_user ⇒ Object
readonly
Returns the value of attribute current_user.
Instance Attribute Details
#current_user ⇒ Object (readonly)
Returns the value of attribute current_user.
3 4 5 |
# File 'app/controllers/gaku/api/v1/base_controller.rb', line 3 def current_user @current_user end |