Sha256: 39c2c5e3b7bbf7326b17ebd48822b9110fd8f4034de2a2c98ec5e5d31e4b13f2
Contents?: true
Size: 578 Bytes
Versions: 5
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: true module Lcms module Engine class ExploreCurriculumController < Lcms::Engine::ApplicationController def index @props = interactor.index_props respond_to do |format| format.html format.json { render json: @props } end end def show @props = interactor.show_props respond_to do |format| format.json { render json: @props } end end private def interactor ExploreCurriculumInteractor.call(self) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems