]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/note_helper.rb
Collect map layer credits into a data structure
[rails.git] / app / helpers / note_helper.rb
index 4e7e37bfb931063d0920b1975f6eb979cf36ad2d..21c8fa51e8c4326cd37182aeda636b4898c15d20 100644 (file)
@@ -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