Sha256: 95e081b67d040a9b4ff67d9d42e7e1e45e947e7c5162bb269ec3d13ec1bfcf03

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

module BetterHelpers
  module Railties

    module Filter
      extend ActiveSupport::Concern

      included do
        prepend_before_filter :better_helpers_store_request
      end

      def better_helpers_store_request
        Thread.current[RequestContext::NAME] = self
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
better_helpers-0.1.3 lib/better_helpers/railties/filter.rb