rescuedcode/StaffPlan — comment on commit 44873e0ba5add0beb90b6975d0cbe13f225c4c5a
File:  line 0
By Veejay:

There is a problem with the way I'm scoping things though. When creating a new client for example, a successful save is supposed to redirect to the show action for that client. Yet, because that client is not yet in the clients of the current_company for the current_user, the ClientsController#show action redirects to /clients, as expected.

Is there a way to circumvent that behavior? Should we consider that the new client should be automatically added to the list of clients for the current_company of the current_user?