From e3ce300533bb6f4a5efc37e5f33739cac1764336 Mon Sep 17 00:00:00 2001 From: Victor Bocharsky Date: Fri, 27 May 2022 12:06:23 +0300 Subject: [PATCH] Fix typo: know -> name --- sfcasts/ep1/twig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfcasts/ep1/twig.md b/sfcasts/ep1/twig.md index 560e7f0..2b217a9 100644 --- a/sfcasts/ep1/twig.md +++ b/sfcasts/ep1/twig.md @@ -14,7 +14,7 @@ template. So return `$this->render()` and pass it two things. The first is the name of the template. How about `vinyl/homepage.html.twig`. It's not required, but it's common to have a directory with the same -know as your controller class and filename that's the same as your method, +name as your controller class and filename that's the same as your method, but you can do whatever. The second argument is an array of any variables that you want to pass *into* the template. Let's pass in a variable called `title` and set it to our mix tape title: "PB and Jams".