Class: Gaku::Api::V1::Students::StudentGuardiansController
- Inherits:
-
BaseController
- Object
- ActionController::API
- ApplicationController
- BaseController
- Gaku::Api::V1::Students::StudentGuardiansController
- Defined in:
- app/controllers/gaku/api/v1/students/student_guardians_controller.rb
Instance Attribute Summary
Attributes inherited from BaseController
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
10 11 12 13 |
# File 'app/controllers/gaku/api/v1/students/student_guardians_controller.rb', line 10 def create @student.guardians << @guardian member_respond_to @guardian end |