Sha256: 51734026c4499d824b42c7d5036760c0530fc815edd10d4b928dd7e73ca28caf

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

module SharingTags::ActionController::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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sharing_tags-0.0.9 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.8 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.7 lib/sharing_tags/action_controller/helpers.rb
sharing_tags-0.0.6 lib/sharing_tags/action_controller/helpers.rb