Run generator for Rails footnotes
This commit is contained in:
parent
da70b1750a
commit
4348344f8a
|
@ -0,0 +1,3 @@
|
|||
#this code temporarily disables notes for all controllers
|
||||
# Footnotes::Filter.notes = []
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
if defined?(Footnotes) && Rails.env.development?
|
||||
Footnotes.run! # first of all
|
||||
|
||||
# ... other init code
|
||||
end
|
Loading…
Reference in New Issue