summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/rich.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/blob_viewer/rich.rb')
-rw-r--r--app/models/blob_viewer/rich.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/models/blob_viewer/rich.rb b/app/models/blob_viewer/rich.rb
new file mode 100644
index 00000000000..be373dbc948
--- /dev/null
+++ b/app/models/blob_viewer/rich.rb
@@ -0,0 +1,11 @@
+module BlobViewer
+ module Rich
+ extend ActiveSupport::Concern
+
+ included do
+ self.type = :rich
+ self.switcher_icon = 'file-text-o'
+ self.switcher_title = 'rendered file'
+ end
+ end
+end