Sha256: ef802d540330d30b601c6b4644391a635fa3b7a3ad3052893a924fe154983bc3

Contents?: true

Size: 163 Bytes

Versions: 14

Compression:

Stored size: 163 Bytes

Contents

class Cambium::Admin::SearchController < Cambium::AdminController

  def index
    @collection = PgSearch.multisearch(params[:q]).includes(:searchable)
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
cambium-1.3.2 app/controllers/cambium/admin/search_controller.rb
cambium-1.3.1 app/controllers/cambium/admin/search_controller.rb
cambium-1.3.0 app/controllers/cambium/admin/search_controller.rb
cambium-1.2.3 app/controllers/cambium/admin/search_controller.rb
cambium-1.2.2 app/controllers/cambium/admin/search_controller.rb
cambium-1.2.1 app/controllers/cambium/admin/search_controller.rb
cambium-1.2.0 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.6 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.5 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.4 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.3 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.2 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.1 app/controllers/cambium/admin/search_controller.rb
cambium-1.1.0 app/controllers/cambium/admin/search_controller.rb