Skip to content

Commit

Permalink
Extend correct parent theme class rather than Theme class in inherite…
Browse files Browse the repository at this point in the history
…d theme PHP template (#24)
  • Loading branch information
hughbris authored and rhukster committed Dec 9, 2017
1 parent 06de8b0 commit 6851d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/theme/inheritence/theme.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace Grav\Theme;
use Grav\Common\Theme;
class {{ component.name|camelize }} extends Theme
class {{ component.name|camelize }} extends {{ component.extends|camelize }}
{
// Access plugin events in this class
}

0 comments on commit 6851d2c

Please sign in to comment.