For example, I have People, Accounts, and Products.
All of them have their controllers, models and tables.
But the user can only create products when both
accounts are not empty.
So, the user will be redirected to
route('people.create') if the user went to
peoples table is empty
So, If the user has completed creating people record, it will be redirected back to
Is there a way to check whether the user went to the page because of redirection or just a normal navigation?