Consolidate Crud beforeRedirect logic