aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/history_helper.rb
diff options
context:
space:
mode:
authorLuc Donnet2015-04-22 10:38:49 +0200
committerLuc Donnet2015-04-22 10:38:49 +0200
commit42c570ba88f073d0082b948ced1e3b6f57868afe (patch)
tree9221feb52585362b8ec6a53baef4a7254747e178 /app/helpers/history_helper.rb
parent75b5d7d86f6b5a26b7f88eb7c6b788d59163ef5b (diff)
downloadchouette-core-42c570ba88f073d0082b948ced1e3b6f57868afe.tar.bz2
Update import use
Diffstat (limited to 'app/helpers/history_helper.rb')
-rw-r--r--app/helpers/history_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/history_helper.rb b/app/helpers/history_helper.rb
index 1c23c6c81..02a39a3d3 100644
--- a/app/helpers/history_helper.rb
+++ b/app/helpers/history_helper.rb
@@ -33,12 +33,12 @@ module HistoryHelper
field_set_tag t("layouts.history_tag.title"), :class => "history_tag" do
content_tag :ul do
[(content_tag :li do
- if object.created_at?
+ if object.created_at
t('layouts.history_tag.created_at') + ' : ' + l(object.created_at, :format => :short)
end
end),
(content_tag :li do
- if object.updated_at?
+ if object.updated_at
t('layouts.history_tag.updated_at') + ' : ' + l(object.updated_at, :format => :short)
end
end),