diff options
Diffstat (limited to 'app/presenters/blob_presenter.rb')
-rw-r--r-- | app/presenters/blob_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/blob_presenter.rb b/app/presenters/blob_presenter.rb index 2bca413876c..9980f6cd8a6 100644 --- a/app/presenters/blob_presenter.rb +++ b/app/presenters/blob_presenter.rb @@ -8,7 +8,7 @@ class BlobPresenter < Gitlab::View::Presenter::Simple blob.path, blob.data, language: blob.language_from_gitattributes, - plain: (plain || blob.no_highlighting?) + plain: plain ) end end |