From 4d8abebf4eed8f4e31dc90818907e792b2c39a24 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Thu, 18 Jun 2015 17:39:59 -0400 Subject: [PATCH] Nitpick :nail_care: [ci skip] --- actionview/lib/action_view/helpers/date_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb index 813eda08a3..98ef87e427 100644 --- a/actionview/lib/action_view/helpers/date_helper.rb +++ b/actionview/lib/action_view/helpers/date_helper.rb @@ -71,6 +71,7 @@ module DateHelper # # With the scope you can define a custom scope for Rails lookup # the translation. + # # For example you can define the following in your locale (e.g. en.yml). # # datetime: @@ -83,7 +84,7 @@ module DateHelper # See https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/en.yml # for more examples. # - # Which then will result in the following: + # Which will then result in the following: # # from_time = Time.now # distance_of_time_in_words(from_time, from_time + 50.minutes, scope: 'datetime.distance_in_words.short') # => 1 hr -- GitLab