diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-12-17 19:58:00 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-12-18 11:18:21 -0200 |
commit | ee425c9cf85e1cde3d284ebfcb5ce7328a37e8c1 (patch) | |
tree | 0a8fccc60d183de5bb81a8a741ee61d8da5a27c3 /lib | |
parent | aa2c729e8e90968419d59281c0e6021f77877060 (diff) | |
download | gitlab-ce-ee425c9cf85e1cde3d284ebfcb5ce7328a37e8c1.tar.gz |
Remove feature flag for suggest changes feature
Diffstat (limited to 'lib')
-rw-r--r-- | lib/banzai/filter/suggestion_filter.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/banzai/filter/suggestion_filter.rb b/lib/banzai/filter/suggestion_filter.rb index 822db7cf26e..307ea449140 100644 --- a/lib/banzai/filter/suggestion_filter.rb +++ b/lib/banzai/filter/suggestion_filter.rb @@ -7,7 +7,6 @@ module Banzai TAG_CLASS = 'js-render-suggestion'.freeze def call - return doc unless Suggestion.feature_enabled? return doc unless suggestions_filter_enabled? doc.search('pre.suggestion > code').each do |node| |