Add record to track overridden limits
Before, we were relying on just changing the cards_count in account, but this could create problems where the system to calculate the next card number fails due to the unique constraint.
This commit is contained in:
@@ -5,6 +5,8 @@ Fizzy::Saas::Engine.routes.draw do
|
||||
mount Audits1984::Engine, at: "/console"
|
||||
get "stats", to: "stats#show"
|
||||
resource :account_search, only: :create
|
||||
resources :accounts
|
||||
resources :accounts do
|
||||
resource :overridden_limits, only: :destroy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user