Skip to content

Commit 236797e

Browse files
committed
Fixing bad merge conflict (forgot to save!)
1 parent df9c3f4 commit 236797e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

book/propel.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,11 @@ have a route that maps a product id to an update action in a controller::
241241
);
242242
}
243243

244-
<<<<<<< HEAD
245244
$product->setName('New product name!');
246245
$product->save();
247246

248-
return $this->redirect($this->generateUrl('homepage'));
247+
return $this->redirectToRoute('homepage');
249248
}
250-
=======
251-
return $this->redirectToRoute('homepage');
252-
>>>>>>> pull/5046
253249
}
254250

255251
Updating an object involves just three steps:

0 commit comments

Comments
 (0)