File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ a method inside of it that will be executed when someone goes to ``/lucky/number
5959
6060Before diving into this, test it out!
6161
62- http://localhost:8000/app_dev.php/ lucky/number
62+ http://localhost:8000/lucky/number
6363
6464.. tip ::
6565
@@ -86,9 +86,15 @@ return a Symfony :ref:`Response <component-http-foundation-response>` object
8686 Symfony through a file - ``web/app_dev.php `` - that boots it in the ``dev ``
8787 environment. This enables great debugging tools and rebuilds cached
8888 files automatically. For production, you'll use clean URLs - like
89- ``http://localhost:8000/lucky/number `` - that execute a different file -
90- ``app.php `` - that's optimized for speed. To learn more about this and
91- environments, see :ref: `book-page-creation-prod-cache-clear `.
89+ ``http://symfony.dev/lucky/number `` - that execute a different file -
90+ ``app.php `` - that's optimized for speed.
91+
92+ When you visit the ``http://localhost:8000 `` URL in your browser, you're
93+ executing your Symfony application in the ``dev `` environment. To visit
94+ your application in the ``prod `` environment, visit the ``http://localhost:8000/app.php ``
95+ URL instead.
96+
97+ To learn more about this and environments, see :ref: `book-page-creation-prod-cache-clear `.
9298
9399Creating a JSON Response
94100~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments