summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets/show.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-10 00:10:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-10 00:10:29 +0000
commit981771279a48c03263e29f3b4f41f54204ea3146 (patch)
tree5e48e8debb84850147d183b094ffcd9d8b084c48 /app/views/projects/snippets/show.html.haml
parenta8648ba08604085c76be1e4f5253ffa89aa192e3 (diff)
downloadgitlab-ce-981771279a48c03263e29f3b4f41f54204ea3146.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/snippets/show.html.haml')
-rw-r--r--app/views/projects/snippets/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index a296394a2e0..8ef53c40b11 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -3,7 +3,7 @@
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
-#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id} }
+#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id, 'report-abuse-path': snippet_report_abuse_path(@snippet) } }
.row-content-block.top-block.content-component-block
= render 'award_emoji/awards_block', awardable: @snippet, inline: true, api_awards_path: project_snippets_award_api_path(@snippet)