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.25.4 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.25.3 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.25.2 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.25.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.25.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.24.3 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.24.2 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.24.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.24.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.23.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.22.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.21.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.20.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.19.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.18.1 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.18.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.17.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.16.0 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.15.3 app/controllers/wcms_components/tags_controller.rb
biola_wcms_components-0.15.2 app/controllers/wcms_components/tags_controller.rb