lib/rails-footnotes/notes/partials_note.rb in ceritium-rails-footnotes-3.4.1 vs lib/rails-footnotes/notes/partials_note.rb in ceritium-rails-footnotes-3.4.1.1

- old
+ new

@@ -11,10 +11,10 @@ def content result = '<ul>' @partials.collect.each do |partial| full_filename = File.join(File.expand_path(RAILS_ROOT), 'app', 'views', partial.first.to_s) - result += "<li><a href='#{Footnotes::Filter.prefix}#{full_filename}'>" + result += "<li><a href='#{Footnotes::Filter.prefix(full_filename, 1, 1)}'>" result += "#{partial.last}</a></li>" end result += '</ul>' result \ No newline at end of file