Sha256: a4a0cc40a3c07a8b02b6c27bdd49ccfa1dbb4f526c063949b38de0f0837e379a

Contents?: true

Size: 223 Bytes

Versions: 3

Compression:

Stored size: 223 Bytes

Contents

module Footnotes
  class BeforeFilter
    # Method called to start the notes
    # It's a before filter prepend in the controller
    def self.filter(controller)
      Footnotes::Filter.start!(controller)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-footnotes-3.7.9 lib/rails-footnotes/before_filter.rb
rails-footnotes-3.7.8 lib/rails-footnotes/before_filter.rb
rails-footnotes-3.7.7 lib/rails-footnotes/before_filter.rb