Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-21 12:12:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-21 12:12:21 +0300
commit63a014fe28a4d5cbcc4ac2e89abcc6ab40c0df12 (patch)
treef3088c179faaca35048ecdb10c0c73bd43a9c3ff /app/presenters/snippet_blob_presenter.rb
parentc84d80849d0ce96d4464a8d60e519e4bfe044185 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/snippet_blob_presenter.rb')
-rw-r--r--app/presenters/snippet_blob_presenter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/presenters/snippet_blob_presenter.rb b/app/presenters/snippet_blob_presenter.rb
index ab8fc0f905b..4072696eb89 100644
--- a/app/presenters/snippet_blob_presenter.rb
+++ b/app/presenters/snippet_blob_presenter.rb
@@ -3,6 +3,8 @@
class SnippetBlobPresenter < BlobPresenter
include GitlabRoutingHelper
+ presents ::SnippetBlob
+
def rich_data
return unless blob.rich_viewer