Sha256: cf0cd16a12ac2e816ea06d9d4a3ad58b73b4e4491f4452ac1abc6d77549dad0e
Contents?: true
Size: 667 Bytes
Versions: 1
Compression:
Stored size: 667 Bytes
Contents
Footnotes.setup do |f| # Wether or not to enable footnotes f.enabled = Rails.env.development? # You can also use a lambda / proc to conditionally toggle footnotes # Example : # f.enabled = -> { User.current.admin? } # Beware of thread-safety though, Footnotes.enabled is NOT thread safe # and should not be modified anywhere else. # Only toggle some notes : # f.notes = [:session, :cookies, :params, :filters, :routes, :env, :queries, :log, :general] # Change the prefix : # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d' # Disable style : # f.no_style = true # Allow to open multiple notes : # f.multiple_notes = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-footnotes-4.0.0 | lib/generators/templates/rails_footnotes.rb |