Skip to content

Conversation

@DavidAmon19
Copy link

No description provided.

$this->entityManager->persist($curso);
$this->entityManager->flush();

header('location: /cursos/listar');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utilizar a abstração redirect('/cursos/listar')

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feito as atualizações conforme solicitado, porém, mesmo após atualizar meu código não encontrei essa abstração até o momento na branch principal, poderia por favor, verificar se existe alguma PR para aceitar com esse recurso?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Na verdade o problema estava na atualização do meu fork, fiz a atualização e assim puxei pra minha branch e ja atualizei a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants