about summary refs log tree commit diff
path: root/app/models/media_attachment.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-20 00:58:28 -0500
committerGitHub <noreply@github.com>2023-02-20 06:58:28 +0100
commit717683d1c39d2fe85d1cc3f5223e1f4cf43f1900 (patch)
treeadf7a7e93197707196ff3fdc7ca476deffede365 /app/models/media_attachment.rb
parentd2dcb6c45a9db5439772f0553046e2c03a739a16 (diff)
Autofix Rubocop remaining Layout rules (#23679)
Diffstat (limited to 'app/models/media_attachment.rb')
-rw-r--r--app/models/media_attachment.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index c6f2352e0..08abd4e43 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -1,4 +1,5 @@
 # frozen_string_literal: true
+
 # == Schema Information
 #
 # Table name: media_attachments
@@ -372,7 +373,7 @@ class MediaAttachment < ApplicationRecord
     return {} if width.nil?
 
     {
-      width:  width,
+      width: width,
       height: height,
       size: "#{width}x#{height}",
       aspect: width.to_f / height,