mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-12 08:43:58 +02:00
Used .html as filename extension for templates
In user_profile we're actually extending template.html and not template.php
This commit is contained in:
@@ -37,7 +37,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
|
||||
|
||||
{% highlight text %}
|
||||
{% raw %}
|
||||
// template.php
|
||||
// template.html
|
||||
|
||||
<html>
|
||||
<head>
|
||||
@@ -56,7 +56,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
|
||||
|
||||
{% highlight text %}
|
||||
{% raw %}
|
||||
// user_profile.php
|
||||
// user_profile.html
|
||||
|
||||
{% extends "template.html" %}
|
||||
|
||||
|
Reference in New Issue
Block a user