Module: SharingTags::ActionController::Helpers
- Defined in:
- lib/sharing_tags/action_controller/helpers.rb
Instance Method Summary collapse
Instance Method Details
#sharing_tags ⇒ Object
4 5 6 |
# File 'lib/sharing_tags/action_controller/helpers.rb', line 4 def SharingTags.config.within_context_params(view_context) end |
#sharing_tags_context(name, *attrs) ⇒ Object
8 9 10 |
# File 'lib/sharing_tags/action_controller/helpers.rb', line 8 def (name, *attrs) SharingTags.config.switch_context(name, *attrs) end |