Sha256: 791d781fb293712708a060a18a0ce992a74defc3a752f5081158d9ba79c86626

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module Lcms
  module Engine
    class SearchController < Lcms::Engine::ApplicationController
      def index
        @props = SearchInteractor.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/search_controller.rb
lcms-engine-0.1.3 app/controllers/lcms/engine/search_controller.rb
lcms-engine-0.2.0 app/controllers/lcms/engine/search_controller.rb
lcms-engine-0.1.2 app/controllers/lcms/engine/search_controller.rb
lcms-engine-0.1.0 app/controllers/lcms/engine/search_controller.rb