Skip to content

Commit

Permalink
[Book] app_dev with php built-in web server
Browse files Browse the repository at this point in the history
Console commands are in dev mode by default.
Don't use app_dev on url with php built-in web server because it is already in dev mode.
  • Loading branch information
manelselles committed Apr 7, 2015
1 parent 87d6f1e commit 52fb19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ to the controller:
return $collection;
Now, you can go to ``/hello/ryan`` (e.g. ``http://localhost:8000/app_dev.php/hello/ryan``
Now, you can go to ``/hello/ryan`` (e.g. ``http://localhost:8000/hello/ryan``
if you're using the :doc:`built-in web server </cookbook/web_server/built_in>`)
and Symfony will execute the ``HelloController::indexAction()`` controller
and pass in ``ryan`` for the ``$name`` variable. Creating a "page" means
Expand Down

0 comments on commit 52fb19d

Please sign in to comment.