19 20 21 22 23 24 25
# File 'lib/rails-footnotes/extension.rb', line 19 def rails_footnotes_after_filter if Footnotes.enabled? filter = Footnotes::Filter.new(self) filter.add_footnotes! filter.close!(self) end end
13 14 15 16 17
# File 'lib/rails-footnotes/extension.rb', line 13 def rails_footnotes_before_filter if Footnotes.enabled? Footnotes::Filter.start!(self) end end