Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 5abc638

Browse files
jdespatisdbu
authored andcommitted
Update database_layer.rst
Missing `s`to `/task`, as `/tasks` is the root
1 parent d67c1c6 commit 5abc638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/database_layer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ you've configured a route to display a specific task by name::
261261
public function showAction($name)
262262
{
263263
$repository = $this->get('doctrine_phpcr')->getRepository('AcmeTaskBundle:Task');
264-
$task = $repository->find('/task/'.$name);
264+
$task = $repository->find('/tasks/'.$name);
265265

266266
if (!$task) {
267267
throw $this->createNotFoundException('No task found with name '.$name);

0 commit comments

Comments
 (0)