Skip to content

Commit

Permalink
Update app.php
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleBabar committed Mar 20, 2015
1 parent 98354d7 commit fa863fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

$twiger = new Twiger( array_merge($constants, $route['params']) );
$twiger->addFunction($assets);
$twiger->render('home.html.twig', $route['route_params'] );
$twiger->render($route['template'].'.html.twig', $route['route_params'] );

}
}else{
Expand Down

0 comments on commit fa863fd

Please sign in to comment.