Sha256: 7ac0d4bea24ad58130a462d3a651f7bbcf89d011de85fbf878988e37eefca8ec

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

module Ecm
  module Tags
    module ApplicationHelper
      def tags_search_box
        @tag_search ||= Ecm::Tags::TagSearch.new
        render partial: 'ecm/tags/search_box'
      end

      def tag_labels_for(resource)
        render 'ecm/tags/tag_labels_for_resource', resource: resource
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_tags-2.2.1 app/helpers/ecm/tags/application_helper.rb
ecm_tags-2.2.0 app/helpers/ecm/tags/application_helper.rb
ecm_tags-2.1.0 app/helpers/ecm/tags/application_helper.rb
ecm_tags-2.0.2 app/helpers/ecm/tags/application_helper.rb