Skip to content

Commit

Permalink
render method don't need extension .php to locate the file.
Browse files Browse the repository at this point in the history
Fixes #74 .
  • Loading branch information
harikt authored Aug 17, 2016
1 parent 5d7ce8a commit 847facf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ In addition, the `setSection()` method can be used to set the section body direc

```php
<?php
$this->setSection('local-nav', $this->render('_local-nav.php'));
$this->setSection('local-nav', $this->render('_local-nav'));
?>
```

Expand Down

0 comments on commit 847facf

Please sign in to comment.