summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorbigsurge <stone6_leung@hotmail.com>2015-08-19 14:29:18 +0800
committerbigsurge <stone6_leung@hotmail.com>2015-08-19 14:29:18 +0800
commitcecc18616a184211e4948e27df575fb08108af43 (patch)
treed9df616b467a815514a2c52b097098b176197f09 /lib/api/entities.rb
parent512bb5ba285ed02db97d51d439cc81d9bd08a03d (diff)
downloadgitlab-ce-cecc18616a184211e4948e27df575fb08108af43.tar.gz
add CommitNote field expose :created_at
add CommitNote field expose :created_at
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 31202fa8c1f..c6108bee68b 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -203,6 +203,7 @@ module API
expose(:line) { |note| note.diff_new_line }
expose(:line_type) { |note| note.diff_line_type }
expose :author, using: Entities::UserBasic
+ expose :created_at
end
class Event < Grape::Entity