Resolver o redirect do post e os ->flush()