]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Improve date display in user notes list
[rails.git] / app / helpers / application_helper.rb
index 9676e6ee16a234d9255175367850e19381cf0481..3771acf3726746cbc44f99a5cc91af5c43c2c14b 100644 (file)
@@ -99,12 +99,4 @@ module ApplicationHelper
   def friendly_date(date)
     content_tag(:span, time_ago_in_words(date), :title => l(date, :format => :friendly))
   end
-
-  def note_author(object, link_options = {})
-    if object.author.nil?
-      ""
-    else
-      link_to h(object.author.display_name), link_options.merge({:controller => "user", :action => "view", :display_name => object.author.display_name})
-    end
-  end
 end