summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_discussion.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r--app/views/projects/issues/_discussion.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml
index 1eccc0509bd..9779c1985d5 100644
--- a/app/views/projects/issues/_discussion.html.haml
+++ b/app/views/projects/issues/_discussion.html.haml
@@ -14,4 +14,4 @@
notes_path: notes_url,
last_fetched_at: Time.now.to_i,
noteable_data: serialize_issuable(@issue),
- current_user_data: UserSerializer.new.represent(current_user).to_json } }
+ current_user_data: UserSerializer.new.represent(current_user, only_path: true).to_json } }