We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a56bf8 commit 1e497e9Copy full SHA for 1e497e9
app/controllers/basil_controller.rb
@@ -396,7 +396,7 @@ def review
396
397
def commission
398
@generated_images_count = current_user.basil_commissions.with_deleted.count
399
- if @generated_images_count > BasilService::FREE_IMAGE_LIMIT
+ if !current_user.on_premium_plan? && @generated_images_count > BasilService::FREE_IMAGE_LIMIT
400
redirect_back fallback_location: basil_path, notice: "You've reached your free image limit. Please upgrade to generate more images."
401
return
402
end
0 commit comments