Class: Lcms::Engine::ExploreCurriculumController

Inherits:
ApplicationController show all
Defined in:
app/controllers/lcms/engine/explore_curriculum_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



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

#showObject



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