We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5adc30 commit e634637Copy full SHA for e634637
configuration/micro_kernel_trait.rst
@@ -276,6 +276,17 @@ Template files should live in the ``Resources/views`` directory of whatever dire
276
your *kernel* lives in. Since ``AppKernel`` lives in ``app/``, this template lives
277
at ``app/Resources/views/micro/random.html.twig``.
278
279
+.. code-block:: html+twig
280
+ <!DOCTYPE html>
281
+ <html>
282
+ <head>
283
+ <title>Random action</title>
284
+ </head>
285
+ <body>
286
+ <p>{{ number }}</p>
287
+ </body>
288
+ </html>
289
+
290
Finally, you need a front controller to boot and run the application. Create a
291
``web/index.php``::
292
0 commit comments