diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-05-19 02:05:47 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-05-19 02:41:31 +0300 |
commit | a355bcac4ba2fda77032f1cb7d88579f77a0ebe6 (patch) | |
tree | ae81c7d12642fb8a4b224d56fad40736c1764d45 /app/views/shared | |
parent | 7efa0aa02c1590b943028ef12056717b0b078e28 (diff) |
Stop loading MergeRequestEntity data on sidebar request
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 |
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}" |