Class: Footnotes::BeforeFilter

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

Class Method Summary collapse

Class Method Details

.filter(controller) ⇒ Object

Method called to start the notes It’s a before filter prepend in the controller



5
6
7
# File 'lib/rails-footnotes/footnotes.rb', line 5

def self.filter(controller)
  Footnotes::Filter.start!(controller)
end