1
0
Fork 0

Run generator for Rails footnotes

This commit is contained in:
Andrew Tomaka 2013-03-29 19:53:07 -04:00
parent da70b1750a
commit 4348344f8a
2 changed files with 8 additions and 0 deletions

3
.rails_footnotes Normal file
View File

@ -0,0 +1,3 @@
#this code temporarily disables notes for all controllers
# Footnotes::Filter.notes = []

View File

@ -0,0 +1,5 @@
if defined?(Footnotes) && Rails.env.development?
Footnotes.run! # first of all
# ... other init code
end