8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9c3f4 commit 236797eCopy full SHA for 236797e
book/propel.rst
@@ -241,15 +241,11 @@ have a route that maps a product id to an update action in a controller::
241
);
242
}
243
244
-<<<<<<< HEAD
245
$product->setName('New product name!');
246
$product->save();
247
248
- return $this->redirect($this->generateUrl('homepage'));
+ return $this->redirectToRoute('homepage');
249
250
-=======
251
- return $this->redirectToRoute('homepage');
252
->>>>>>> pull/5046
253
254
255
Updating an object involves just three steps:
0 commit comments