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
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2018-11-30 06:16:40 +0300
committerHeinrich Lee Yu <hleeyu@gmail.com>2018-12-19 12:58:53 +0300
commit199a4db2c4854b101370970546637c0d68e0b854 (patch)
tree4989028824595375ef0d2de4aea111e650e86ceb /app/serializers
parentddb1d326e06cc40d87b8eaa40aab7019447d6e5e (diff)
Add schema tests
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/issuable_sidebar_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issuable_sidebar_entity.rb b/app/serializers/issuable_sidebar_entity.rb
index 11666049959..86210db4ef3 100644
--- a/app/serializers/issuable_sidebar_entity.rb
+++ b/app/serializers/issuable_sidebar_entity.rb
@@ -12,7 +12,7 @@ class IssuableSidebarEntity < Grape::Entity
expose :project_id do |issuable|
issuable.project.id
end
- expose :discussion_locked?, as: :discussion_locked
+ expose :discussion_locked
expose :reference do |issuable|
issuable.to_reference(issuable.project, full: true)
end