Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 15:28:29 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 15:28:29 +0400
commit124a5e270e581bf3928559bd2de2c9c973c30952 (patch)
tree14e36ed41785d84b80e4f9688354bdf8d6f0ece7 /lib
parent4d378f3c9a7bec3cbdbd2b2e59150702849e65f7 (diff)
add attachemnts support for wall
Diffstat (limited to 'lib')
-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 42dae53b4d1..3fe4abc3e2a 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -95,6 +95,7 @@ module Gitlab
class Note < Grape::Entity
expose :id
expose :note, as: :body
+ expose :attachment_identifier, as: :attachment
expose :author, using: Entities::UserBasic
expose :created_at
end