Skip to content

Commit

Permalink
Fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis authored and wouterj committed Jul 28, 2015
1 parent 8cec82b commit a9d75c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_framework/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rendered::

function render_template($request)
{
extract($request->attributes->all(), EXTR_SKIP);
extract($request->attributes->all());
ob_start();
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);

Expand Down Expand Up @@ -110,7 +110,7 @@ Here is the updated and improved version of our framework::

function render_template($request)
{
extract($request->attributes->all(), EXTR_SKIP);
extract($request->attributes->all());
ob_start();
include sprintf(__DIR__.'/../src/pages/%s.php', $_route);

Expand Down

0 comments on commit a9d75c6

Please sign in to comment.