aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/history_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/history_helper.rb')
-rw-r--r--app/helpers/history_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/history_helper.rb b/app/helpers/history_helper.rb
index 3ad38a11e..56c651c1d 100644
--- a/app/helpers/history_helper.rb
+++ b/app/helpers/history_helper.rb
@@ -4,9 +4,7 @@ module HistoryHelper
field_set_tag t("layouts.history_tag.title"), :class => "history_tag" do
content_tag :ul do
[(content_tag :li do
- if object.has_attribute?(:creation_time)
- object.human_attribute_name('creation_time') + ' : ' + l(object.creation_time, :format => :short)
- else
+ if object.has_attribute?(:created_at)
object.class.human_attribute_name('created_at') + ' : ' + l(object.created_at, :format => :short)
end
end),