about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorDJ Sundog <sundog@reclaim.technology>2017-10-07 13:55:11 -0700
committerGitHub <noreply@github.com>2017-10-07 13:55:11 -0700
commite10cff8226172842376c30fb3cb098a570535400 (patch)
tree6336cfd1a0204b403dd4e2ac5a76a43b96e96435 /lib
parent979b0d66a7e0a49646b396c2486a762a9bb57a05 (diff)
update indentation
Diffstat (limited to 'lib')
-rw-r--r--lib/paperclip/audio_transcoder.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/paperclip/audio_transcoder.rb b/lib/paperclip/audio_transcoder.rb
index 484d694d7..388763de8 100644
--- a/lib/paperclip/audio_transcoder.rb
+++ b/lib/paperclip/audio_transcoder.rb
@@ -3,13 +3,13 @@
 module Paperclip
   class AudioTranscoder < Paperclip::Processor
     def make
-       final_file = Paperclip::Transcoder.make(file, options, attachment)
+      final_file = Paperclip::Transcoder.make(file, options, attachment)
+      
+      attachment.instance.file_file_name    = 'media.mp4'
+      attachment.instance.file_content_type = 'video/mp4'
+      attachment.instance.type              = MediaAttachment.types[:video]
 
-       attachment.instance.file_file_name    = 'media.mp4'
-       attachment.instance.file_content_type = 'video/mp4'
-       attachment.instance.type              = MediaAttachment.types[:video]
-
-       final_file
+      final_file
     end
   end
 end