diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-26 13:18:44 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-05-26 17:14:06 +0200 |
commit | 25c08d11bbf3a889501ebe295a1ab66a12a52d49 (patch) | |
tree | 1d7901f8fe620609bb3331ad786c190964b5c2fa /app/views/search/results/_merge_request.html.haml | |
parent | 86166d28029d5fcc729f7b7f5a41635c2e783a9e (diff) | |
download | gitlab-ce-25c08d11bbf3a889501ebe295a1ab66a12a52d49.tar.gz |
Added author to various Markdown calls in views
This ensures all these calls have an author set, allowing the use of
"all" mentions where possible.
Diffstat (limited to 'app/views/search/results/_merge_request.html.haml')
-rw-r--r-- | app/views/search/results/_merge_request.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_merge_request.html.haml b/app/views/search/results/_merge_request.html.haml index 333f6533213..6331c2bd6b0 100644 --- a/app/views/search/results/_merge_request.html.haml +++ b/app/views/search/results/_merge_request.html.haml @@ -6,7 +6,7 @@ - if merge_request.description.present? .description.term = preserve do - = search_md_sanitize(markdown(merge_request.description, { project: merge_request.project })) + = search_md_sanitize(markdown(merge_request.description, { project: merge_request.project, author: merge_request.author })) %span.light #{merge_request.project.name_with_namespace} .pull-right |