Sha256: 44866291e7b9f56d46abc2cafb167cc935ea02dfcbdef9ba93dbdc07d6b2cc3f
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" module Footnotes module Notes class LayoutNote < AbstractNote def row :edit end def link escape(Footnotes::Filter.prefix(filename, 1, 1)) end def valid? prefix? && filename end protected def filename Dir[Footnotes.view_subscriber.layout.to_s+".html*"].first end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails3-footnotes-4.0.0.pre.5 | lib/rails-footnotes/notes/layout_note.rb |
rails3-footnotes-4.0.0.pre.4 | lib/rails-footnotes/notes/layout_note.rb |