Class: Footnotes::AfterFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/rails-footnotes/footnotes.rb

Class Method Summary collapse

Class Method Details

.filter(controller) ⇒ Object

Method that calls Footnotes to attach its contents



12
13
14
15
16
# File 'lib/rails-footnotes/footnotes.rb', line 12

def self.filter(controller)
  filter = Footnotes::Filter.new(controller)
  filter.add_footnotes!
  filter.close!(controller)
end