pass requests to controller, return twig template
This commit is contained in:
parent
2383fd9d93
commit
5775b4b3c3
3 changed files with 30 additions and 6 deletions
9
templates/home.html.twig
Normal file
9
templates/home.html.twig
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Welcome to Slim!</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello {{ name }}</h1>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue