Files
fizzy/saas/app/controllers/concerns/card/storage_limited/publishing.rb
T
Jorge Manrubia cf10dbd91e Add 1GB storage cap with staff bypass (#2729)
Re-applies the storage limit from #2713 (reverted in #2715) with an
exception for staff identities so our own account isn't blocked.
2026-03-19 12:38:39 +01:00

10 lines
193 B
Ruby

module Card::StorageLimited::Publishing
extend ActiveSupport::Concern
included do
include Card::StorageLimited
before_action :ensure_within_storage_limit, only: :create
end
end