From 00a03dc0488020ac5be6eb787fb2045fbb67913a Mon Sep 17 00:00:00 2001 From: Remi Date: Sun, 14 Jan 2018 14:29:39 +0100 Subject: [PATCH 1/2] Add templates file in symfony architecture Seems to miss the templates file. Correct me if I'm wrong. --- page_creation.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/page_creation.rst b/page_creation.rst index 8c3fa7eac85..74943453451 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -281,8 +281,11 @@ project: ``src/`` All your PHP code lives here. + +``templates/`` + All your html.twig code lives here. -Most of the time, you'll be working in ``src/`` (PHP files) or ``config/`` As you +Most of the time, you'll be working in ``src/`` (PHP files), ``templates/`` or ``config/`` As you keep reading, you'll learn what can be done inside each of these. So what about the other directories in the project? From 86e54d302f26fab9ea5d47ddec99e32eae2ad43f Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sun, 14 Jan 2018 18:47:01 +0100 Subject: [PATCH 2/2] Minor reword --- page_creation.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/page_creation.rst b/page_creation.rst index 74943453451..d0f7a40e6bc 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -283,10 +283,10 @@ project: All your PHP code lives here. ``templates/`` - All your html.twig code lives here. + All your Twig templates live here. -Most of the time, you'll be working in ``src/`` (PHP files), ``templates/`` or ``config/`` As you -keep reading, you'll learn what can be done inside each of these. +Most of the time, you'll be working in ``src/``, ``templates/`` or ``config/``. +As you keep reading, you'll learn what can be done inside each of these. So what about the other directories in the project?