summaryrefslogtreecommitdiff
path: root/app/presenters/blobs
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-02-22 15:18:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-02-22 15:18:06 +0000
commit95b9a603c32ce361d1746d4a00c58cd180218d41 (patch)
tree421f77e48879154b06a6ac34e3d9fe5203cc504f /app/presenters/blobs
parent59f160b0cf3ca52fc25f827e57d0dc1273a50521 (diff)
downloadgitlab-ce-95b9a603c32ce361d1746d4a00c58cd180218d41.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters/blobs')
-rw-r--r--app/presenters/blobs/notebook_presenter.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/presenters/blobs/notebook_presenter.rb b/app/presenters/blobs/notebook_presenter.rb
new file mode 100644
index 00000000000..16ae1e71191
--- /dev/null
+++ b/app/presenters/blobs/notebook_presenter.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+module Blobs
+ class NotebookPresenter < ::BlobPresenter
+ def gitattr_language
+ 'md'
+ end
+ end
+end