Module: Footnotes::RailsFootnotesExtension

Defined in:
lib/rails-footnotes.rb

Overview

The footnotes are applied by default to all actions. You can change this behavior commenting the after_filter line below and putting it in Your application. Then you can cherrypick in which actions it will appear.

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



21
22
23
24
# File 'lib/rails-footnotes.rb', line 21

def self.included(base)
  base.prepend_before_filter Footnotes::BeforeFilter
  base.after_filter Footnotes::AfterFilter
end