summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2017-05-18 20:05:47 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-05-18 20:41:31 -0300
commita355bcac4ba2fda77032f1cb7d88579f77a0ebe6 (patch)
treeae81c7d12642fb8a4b224d56fad40736c1764d45 /app/views
parent7efa0aa02c1590b943028ef12056717b0b078e28 (diff)
downloadgitlab-ce-a355bcac4ba2fda77032f1cb7d88579f77a0ebe6.tar.gz
Stop loading MergeRequestEntity data on sidebar request
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index ac84fffe831..e49bd5ebb13 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -140,7 +140,7 @@
:javascript
gl.sidebarOptions = {
- endpoint: "#{issuable_json_path(issuable)}",
+ endpoint: "#{issuable_json_path(issuable)}?basic=true",
editable: #{can_edit_issuable ? true : false},
currentUser: #{current_user.to_json(only: [:username, :id, :name], methods: :avatar_url)},
rootPath: "#{root_path}"