cf10dbd91e
Re-applies the storage limit from #2713 (reverted in #2715) with an exception for staff identities so our own account isn't blocked.
10 lines
193 B
Ruby
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
|