summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-05-18 20:25:31 +0000
committerDouwe Maan <douwe@gitlab.com>2017-05-18 20:25:31 +0000
commita3eabcc20c422db7032e31397c21dbc6ca3166de (patch)
tree614fb7cba8fa6b9151b5091505b3902af96d1a65 /app
parentdd35bd2d3535283ab70c6f80c27f0a0fa2a78ccf (diff)
parentabc82a2508d102bb30789bce4a8b4ba56011683a (diff)
downloadgitlab-ce-a3eabcc20c422db7032e31397c21dbc6ca3166de.tar.gz
Merge branch 'tc-fix-broken-plain-readme' into 'master'
Fix ProjectCacheWorker for plain READMEs Closes #32540 See merge request !11506
Diffstat (limited to 'app')
-rw-r--r--app/helpers/markup_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/markup_helper.rb b/app/helpers/markup_helper.rb
index 0009cad86c4..941cfce8370 100644
--- a/app/helpers/markup_helper.rb
+++ b/app/helpers/markup_helper.rb
@@ -1,6 +1,9 @@
require 'nokogiri'
module MarkupHelper
+ include ActionView::Helpers::TagHelper
+ include ActionView::Context
+
def plain?(filename)
Gitlab::MarkupHelper.plain?(filename)
end