X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d739943b36901ed30d8a715e113fb0a34b14d2e4..4300c7b142cb00d4f51e097d53332d3e8ed3caa6:/app/helpers/note_helper.rb?ds=inline diff --git a/app/helpers/note_helper.rb b/app/helpers/note_helper.rb index 4e7e37bfb..21c8fa51e 100644 --- a/app/helpers/note_helper.rb +++ b/app/helpers/note_helper.rb @@ -21,9 +21,4 @@ module NoteHelper link_to h(author.display_name), link_options.merge(:controller => "/users", :action => "show", :display_name => author.display_name) end end - - def disappear_in(note) - date = note.freshly_closed_until - tag.span(distance_of_time_in_words(date, Time.now.utc), :title => l(date, :format => :friendly)) - end end