Sha256: 226c75a023b7c9529e9ca7a69fada661178cf34ab2a2ebe1110afa170f798915

Contents?: true

Size: 408 Bytes

Versions: 9

Compression:

Stored size: 408 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

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