Skip to content

Commit 49d4365

Browse files
committed
added created_at to comments/index
1 parent 802dc45 commit 49d4365

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

config/locales/en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ en:
7272
labels:
7373
destroy: "Delete"
7474
comments:
75+
created_at: "Created"
7576
resource_type: "Resource Type"
7677
author_type: "Author Type"
7778
body: "Body"

lib/active_admin/orm/active_record/comments.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def create
7474
column I18n.t('active_admin.comments.resource'), :resource
7575
column I18n.t('active_admin.comments.author'), :author
7676
column I18n.t('active_admin.comments.body'), :body
77+
column I18n.t('active_admin.comments.created_at'), :created_at
7778
actions
7879
end
7980
end

0 commit comments

Comments
 (0)