Skip to content
Browse files

Pass the whole Perlanet object to the template in a variable called '…

…cfg'.
  • Loading branch information...
1 parent 3841126 commit 0d22e09526f318df1b02920190c27eb7fc32ca25 @davorg committed Aug 23, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Perlanet/Trait/TemplateToolkit.pm
View
1 lib/Perlanet/Trait/TemplateToolkit.pm
@@ -57,6 +57,7 @@ after 'render' => sub {
$self->page->{template},
{
feed => $feed,
+ cfg => $self,
},
$self->page->{file},
{

0 comments on commit 0d22e09

Please sign in to comment.
Something went wrong with that request. Please try again.