Sha256: dbe8f01e18bf6148c0d0075ee58f3d7a3b0c83f3a61acffa025ed01981fd8cde

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 Bytes

Contents

module SharingTags::ActionController::Filters
  extend ActiveSupport::Concern

  included do
    append_before_filter :sharing_tags_clear_context
  end

  def sharing_tags_clear_context
    logger.debug "SharingTags: clear context #{SharingTags.config.current_context.name}!" if logger.debug?
    SharingTags.config.clear_context!
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sharing_tags-0.0.9 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.8 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.7 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.6 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.5 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.4 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.3 lib/sharing_tags/action_controller/filters.rb
sharing_tags-0.0.2 lib/sharing_tags/action_controller/filters.rb