]> cat aescling's git repositories - mastodon.git/commitdiff
update indentation
authorDJ Sundog <sundog@reclaim.technology>
Sat, 7 Oct 2017 20:55:11 +0000 (13:55 -0700)
committerGitHub <noreply@github.com>
Sat, 7 Oct 2017 20:55:11 +0000 (13:55 -0700)
lib/paperclip/audio_transcoder.rb

index 484d694d72c09c059a326c3f41b9c303386f9b93..388763de8ca7506ff9f385addf2aa780dfc43a1d 100644 (file)
@@ -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
This page took 0.025966 seconds and 3 git commands to generate.