summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@gmail.com>2017-12-04 16:27:47 +0000
committerRobert Speicher <robert@gitlab.com>2017-12-04 16:27:47 +0000
commite54307121feeced84de7d278bc8deb44343d9b3d (patch)
tree2531f77b4e298abd9bda44ab950bfdf16826f427 /app/helpers
parent8503fec2b68d9efee062f8e19089aa4e792c4903 (diff)
downloadgitlab-ce-e54307121feeced84de7d278bc8deb44343d9b3d.tar.gz
show status of issue links in wiki page
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/markup_helper.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/helpers/markup_helper.rb b/app/helpers/markup_helper.rb
index 9d269cb65d6..1e4be2d4bcf 100644
--- a/app/helpers/markup_helper.rb
+++ b/app/helpers/markup_helper.rb
@@ -113,7 +113,13 @@ module MarkupHelper
text = wiki_page.content
return '' unless text.present?
- context = { pipeline: :wiki, project: @project, project_wiki: @project_wiki, page_slug: wiki_page.slug }
+ context = {
+ pipeline: :wiki,
+ project: @project,
+ project_wiki: @project_wiki,
+ page_slug: wiki_page.slug,
+ issuable_state_filter_enabled: true
+ }
html =
case wiki_page.format