Skip to content

Commit

Permalink
```php
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 2, 2017
1 parent bb2721e commit 2382ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/updating-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ return $this->renderTemplate('pluginHandle/path/to/template', $variables);

If you want to render a plugin-supplied template on a front-end request, you need to set the View component to the CP’s template mode:

```
```php
// Old:
$oldPath = craft()->templates->getTemplatesPath();
$newPath = craft()->path->getPluginsPath().'pluginhandle/templates/';
Expand Down

0 comments on commit 2382ca3

Please sign in to comment.