Class: Lcms::Engine::ExploreCurriculumController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Lcms::Engine::ExploreCurriculumController
- Defined in:
- app/controllers/lcms/engine/explore_curriculum_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/controllers/lcms/engine/explore_curriculum_controller.rb', line 6 def index @props = interactor.index_props respond_to do |format| format.html format.json { render json: @props } end end |
#show ⇒ Object
14 15 16 17 18 19 |
# File 'app/controllers/lcms/engine/explore_curriculum_controller.rb', line 14 def show @props = interactor.show_props respond_to do |format| format.json { render json: @props } end end |