File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,18 @@ Template files should live in the ``Resources/views`` directory of whatever dire
276276your *kernel * lives in. Since ``AppKernel `` lives in ``app/ ``, this template lives
277277at ``app/Resources/views/micro/random.html.twig ``.
278278
279+ .. code-block :: html+twig
280+
281+ <!DOCTYPE html>
282+ <html>
283+ <head>
284+ <title>Random action</title>
285+ </head>
286+ <body>
287+ <p>{{ number }}</p>
288+ </body>
289+ </html>
290+
279291Finally, you need a front controller to boot and run the application. Create a
280292``web/index.php ``::
281293
@@ -305,7 +317,6 @@ this:
305317 │ ├─ logs/
306318 │ └─ Resources
307319 | └─ views
308- | ├─ base.html.twig
309320 | └─ micro
310321 | └─ random.html.twig
311322 ├─ src/
You can’t perform that action at this time.
0 commit comments