Remove variants from attachment
This commit is contained in:
parent
00ec7fa21c
commit
def87a1621
@ -3,11 +3,7 @@ class AppCatalog::WebApp < ApplicationRecord
|
||||
|
||||
has_many :remote_storage_authorizations
|
||||
|
||||
has_one_attached :icon do |attachable|
|
||||
attachable.variant :medium, resize_to_limit: [128,128]
|
||||
attachable.variant :large, resize_to_limit: [256,256]
|
||||
end
|
||||
|
||||
has_one_attached :icon
|
||||
has_one_attached :apple_touch_icon
|
||||
|
||||
validates :url, presence: true, uniqueness: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user