Sha256: 0dbe4083af2e7419da74d74d174919d5db3bd8c32602dd5779551ef562238aee
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" require "#{File.dirname(__FILE__)}/../view_subscriber" module Footnotes module Notes class ViewNote < AbstractNote def row :edit end def link escape(Footnotes::Filter.prefix(filename, 1, 1)) end def valid? prefix? && filename end protected def filename Footnotes.view_subscriber.view end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails3-footnotes-4.0.0.pre.5 | lib/rails-footnotes/notes/view_note.rb |