Sha256: 265bb797bc4dbe66291ac572ad40c4ca200b1f231f2f1f72028b3344ccab0250

Contents?: true

Size: 789 Bytes

Versions: 4

Compression:

Stored size: 789 Bytes

Contents

defined?(Footnotes) && Footnotes.setup do |f|
  # Whether 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]

  # Change the prefix :
  # f.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'

  # Disable style :
  # f.no_style = true

  # Lock notes to top right :
  # f.lock_top_right = true

  # Change font size :
  # f.font_size = '11px'

  # Allow to open multiple notes :
  # f.multiple_notes = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails-footnotes-4.1.8 lib/generators/templates/rails_footnotes.rb
rails-footnotes-4.1.7 lib/generators/templates/rails_footnotes.rb
rails-footnotes-4.1.6 lib/generators/templates/rails_footnotes.rb
rails-footnotes-4.1.5 lib/generators/templates/rails_footnotes.rb