diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2019-12-03 02:25:43 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-12-02 18:25:43 +0100 |
commit | 6be16d02cb3f03d21226f9b6664d33e3e8650043 (patch) | |
tree | 078570307ddd9fa3386484f1e25bb043babbf805 /app/models | |
parent | 27d5d02925252314e4ec81bca8f72c5f91a55b7f (diff) |
Update ESLint and RuboCop in Code Climate (#12534)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 1f9d92b22..5d5034a52 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -287,7 +287,7 @@ class MediaAttachment < ApplicationRecord width: width, height: height, size: "#{width}x#{height}", - aspect: width.to_f / height.to_f, + aspect: width.to_f / height, } end |