Sha256: 6b343472aba60c93cde8ebaec712bf7f21f14a07ee5d5d24a14488ca7369fc5a

Contents?: true

Size: 282 Bytes

Versions: 38

Compression:

Stored size: 282 Bytes

Contents

class WcmsComponents::TagsController < ApplicationController

  skip_after_action :verify_authorized
  skip_after_action :verify_policy_scoped

  def index
    @tags = Tag.by_type('object').custom_search(params[:q]).limit(10)
    render json: @tags.to_json(only: [:tag])
  end

end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
biola_wcms_components-0.15.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.15.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.14.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.13.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.12.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.11.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.10.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.9.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.9.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.8.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.7.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.6.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.6.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.5.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.4.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.3.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.2.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.2.0 app/controllers/wcms_components/tags_controller.rb