Skip to content

Commit

Permalink
bug #5153 [Book] app_dev with php built-in web server (manelselles)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

[Book] app_dev with php built-in web server

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.

Commits
-------

52fb19d [Book] app_dev with php built-in web server
  • Loading branch information
wouterj committed Apr 7, 2015
2 parents 87d6f1e + 52fb19d commit 2a1d2bb
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 2a1d2bb

Please sign in to comment.