lib/rails-footnotes/footnotes.rb in artofmission-rails-footnotes-3.6.0.1 vs lib/rails-footnotes/footnotes.rb in artofmission-rails-footnotes-3.6.2
- old
+ new
@@ -11,13 +11,13 @@
@@notes = [ :controller, :view, :layout, :stylesheets, :javascripts ]
# Show notes
@@notes += [ :assigns, :session, :cookies, :params, :filters, :routes, :env, :queries, :log, :general ]
# Change queries for rpm note when available
- if defined?(NewRelic)
- @@notes.delete(:queries)
- @@notes << :rpm
- end
+ # if defined?(NewRelic)
+ # @@notes.delete(:queries)
+ # @@notes << :rpm
+ # end
# :no_style => If you don't want the style to be appended to your pages
# :notes => Class variable that holds the notes to be processed
# :prefix => Prefix appended to FootnotesLinks
# :multiple_notes => Set to true if you want to open several notes at the same time