Sha256: 25cab5a6887fe590e47edacec680d5219ebe2419d0b1bda63a12c01383a265f3

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

# Load all notes
#
Dir[File.join(File.dirname(__FILE__),'notes','*.rb')].each do |note|
  require note
end

# 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 ActionController::Base
  prepend_before_filter Footnotes::Filter
  after_filter Footnotes::Filter
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
josevalim-rails-footnotes-3.3.1 lib/loader.rb