Class: Footnotes::BeforeFilter
- Inherits:
-
Object
- Object
- Footnotes::BeforeFilter
- Defined in:
- lib/rails-footnotes/footnotes.rb
Class Method Summary collapse
-
.filter(controller) ⇒ Object
Method called to start the notes It’s a before filter prepend in the controller.
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 |