Sha256: 4b0e1db8e08365d8005df70ae0e13a9e009c300aa74fad0af18e320c3d0291b0

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Lcms
  module Engine
    class FindLessonsController < Lcms::Engine::ApplicationController
      def index
        @props = FindLessonsInteractor.call(self).props
        respond_to do |format|
          format.html
          format.json { render json: @props }
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lcms-engine-0.1.4 app/controllers/lcms/engine/find_lessons_controller.rb
lcms-engine-0.1.3 app/controllers/lcms/engine/find_lessons_controller.rb
lcms-engine-0.2.0 app/controllers/lcms/engine/find_lessons_controller.rb
lcms-engine-0.1.2 app/controllers/lcms/engine/find_lessons_controller.rb
lcms-engine-0.1.0 app/controllers/lcms/engine/find_lessons_controller.rb