]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Merge remote-tracking branch 'upstream/pull/3217'
[rails.git] / app / helpers / application_helper.rb
index ed01ad89b927ac4e6c4dcf59b31fc50a3d4e8164..ae90d980e81bc3de61da28000617f6103af3551d 100644 (file)
@@ -30,7 +30,7 @@ module ApplicationHelper
   end
 
   def friendly_date_ago(date)
-    tag.span(time_ago_in_words(date, :scope => :'datetime.distance_in_words_ago'), :title => l(date, :format => :friendly))
+    tag.span(time_ago_in_words(date, :scope => :"datetime.distance_in_words_ago"), :title => l(date, :format => :friendly))
   end
 
   def body_class