Don't prevent creating drafts, or you won't get to see the upgrade banner
Instead: - Always let you create drafts when pressing "Add card" - Prevent creations of published cards via API - Prevent publication of cards in all cases when the limit is exceeded
This commit is contained in:
@@ -128,8 +128,9 @@ module Fizzy
|
||||
|
||||
config.to_prepare do
|
||||
::Account.include(Account::Billing)
|
||||
::CardsController.include(Card::Limited)
|
||||
::Signup.prepend(Fizzy::Saas::Signup)
|
||||
CardsController.include(Card::LimitedCreation)
|
||||
Cards::PublishesController.include(Card::LimitedPublishing)
|
||||
|
||||
Queenbee::Subscription.short_names = Subscription::SHORT_NAMES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user