diff options
Diffstat (limited to 'app/models/blob_viewer/audio.rb')
-rw-r--r-- | app/models/blob_viewer/audio.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/models/blob_viewer/audio.rb b/app/models/blob_viewer/audio.rb new file mode 100644 index 00000000000..cc7fe3b0d90 --- /dev/null +++ b/app/models/blob_viewer/audio.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module BlobViewer + class Audio < Base + include Rich + include ClientSide + + self.partial_name = 'audio' + self.extensions = UploaderHelper::SAFE_AUDIO_EXT + self.binary = true + end +end |