lib/rails-footnotes/notes/layout_note.rb in josevalim-rails-footnotes-3.4 vs lib/rails-footnotes/notes/layout_note.rb in josevalim-rails-footnotes-3.4.1

- old
+ new

@@ -19,10 +19,10 @@ prefix? && @controller.active_layout end protected def filename - @controller.active_layout.filename + File.join(File.expand_path(RAILS_ROOT), 'app', 'layouts', "#{@controller.active_layout.to_s.underscore}.html.erb").sub('/layouts/layouts/', '/views/layouts/') end end end end