mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-13 17:23: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 %}
|
{% highlight text %}
|
||||||
{% raw %}
|
{% raw %}
|
||||||
// template.php
|
// template.html
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
@@ -56,7 +56,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
|
|||||||
|
|
||||||
{% highlight text %}
|
{% highlight text %}
|
||||||
{% raw %}
|
{% raw %}
|
||||||
// user_profile.php
|
// user_profile.html
|
||||||
|
|
||||||
{% extends "template.html" %}
|
{% extends "template.html" %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user