Class: Lcms::Engine::FindLessonsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Lcms::Engine::FindLessonsController
- Defined in:
- app/controllers/lcms/engine/find_lessons_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/lcms/engine/find_lessons_controller.rb', line 6 def index @props = FindLessonsInteractor.call(self).props respond_to do |format| format.html format.json { render json: @props } end end |