Files
fizzy/saas/app/controllers/concerns/card/limited.rb
T

9 lines
163 B
Ruby

module Card::Limited
extend ActiveSupport::Concern
private
def ensure_under_limits
head :forbidden if Current.account.exceeding_limits?
end
end