lib/rails-footnotes/notes/view_note.rb in rails3-footnotes-4.0.0.pre.1 vs lib/rails-footnotes/notes/view_note.rb in rails3-footnotes-4.0.0.pre.2

- old
+ new

@@ -18,18 +18,18 @@ def valid? prefix? && first_render? end - protected + protected - def first_render? - @template.instance_variable_get(:@_first_render) - end + def first_render? + @template.instance_variable_get(:@_first_render) + end - def filename - @filename ||= @template.instance_variable_get(:@_first_render).filename - end + def filename + @filename ||= @template.instance_variable_get(:@_first_render).filename + end end end end