Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
technobel.sf
Commits
675b30f2
Commit
675b30f2
authored
May 17, 2018
by
Mat
Browse files
Controller: une erreur de persister dans les actions update !!
parent
b7cbe17e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/AssoBundle/Controller/AssociationController.php
View file @
675b30f2
...
...
@@ -65,7 +65,6 @@ class AssociationController extends Controller
if
(
$form
->
isSubmitted
()
&&
$form
->
isValid
())
{
$em
->
persist
(
$association
);
$em
->
flush
();
return
$this
->
redirectToRoute
(
'asso_association_read'
);
...
...
src/AssoBundle/Controller/MembreController.php
View file @
675b30f2
...
...
@@ -65,7 +65,6 @@ class MembreController extends Controller
if
(
$form
->
isSubmitted
()
&&
$form
->
isValid
())
{
$em
->
persist
(
$membre
);
$em
->
flush
();
return
$this
->
redirectToRoute
(
'asso_membre_read'
);
...
...
src/TechnoBundle/Controller/OwnerController.php
View file @
675b30f2
...
...
@@ -5,6 +5,7 @@ namespace TechnoBundle\Controller;
use
Symfony\Bundle\FrameworkBundle\Controller\Controller
;
use
Symfony\Component\HttpFoundation\Request
;
use
TechnoBundle\Entity\Owner
;
use
TechnoBundle\Form\Owner\OwnerType
;
use
APIBundle\Form\Owner\OwnerAPIType
;
...
...
@@ -67,7 +68,6 @@ class OwnerController extends MasterController
if
(
$form
->
isSubmitted
()
&&
$form
->
isValid
())
{
$em
->
persist
(
$auteur
);
$em
->
flush
();
return
$this
->
redirectToRoute
(
'techno_owner_read'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment