Sha256: a389cc804f0a1735ecfdc23bf19991bf4a20ac6dc96ca7d323871852be6db0c0

Contents?: true

Size: 293 Bytes

Versions: 9

Compression:

Stored size: 293 Bytes

Contents

module SharingTags
  module ActionController
    module Helpers
      def sharing_tags
        SharingTags.config.within_context_params(view_context)
      end

      def sharing_tags_context(name, *attrs)
        SharingTags.config.switch_context(name, *attrs)
      end
    end
  end
end    

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sharing_tags-0.0.18 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.17 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.16 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.15 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.14 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.13 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.12 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.11 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.10 lib/sharing_tags/action_controller/helpers.rb