Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…cfg'.
  • Loading branch information...
commit 0d22e09526f318df1b02920190c27eb7fc32ca25 1 parent 3841126
@davorg authored
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},
{
Please sign in to comment.
Something went wrong with that request. Please try again.