Sha256: 3570cb6e7a9d0977a73ec2a7119a8d85f78dd4791c09d4ae299090aa8c63a2c3

Contents?: true

Size: 333 Bytes

Versions: 6

Compression:

Stored size: 333 Bytes

Contents

module SharingTags
  module ActionView
    module MetaHelper
      def sharing_tags
        SharingTags.config.within_context_params(self)
      end

      def render_sharing_tags
        render template: "sharing_tags/meta_tags.html.slim"
      end
      alias_method :sharing_meta_tags, :render_sharing_tags
    end  
  end    
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sharing_tags-0.0.18 lib/sharing_tags/action_view/meta_helper.rb
sharing_tags-0.0.17 lib/sharing_tags/action_view/meta_helper.rb
sharing_tags-0.0.16 lib/sharing_tags/action_view/meta_helper.rb
sharing_tags-0.0.15 lib/sharing_tags/action_view/meta_helper.rb
sharing_tags-0.0.14 lib/sharing_tags/action_view/meta_helper.rb
sharing_tags-0.0.13 lib/sharing_tags/action_view/meta_helper.rb