Compare commits

...

3 Commits

Author SHA1 Message Date
Graham Ollis
9be62a9c2c v1.44
- promote development changes to production
2013-04-13 17:49:27 -04:00
Graham Ollis
7f072b88be v1.43_01
- _template_modified returns value from super class instead of 1 if true (GH#36, Fayland Lam)
2013-04-11 15:43:42 -04:00
Graham Ollis
0faf79001b fix for GH#36 2013-04-11 15:42:20 -04:00
3 changed files with 8 additions and 3 deletions

View File

@@ -2,6 +2,12 @@ Revision history for Mojolicious::Plugin::TtRenderer
{{$NEXT}}
1.44 April 13, 2013
- promote development changes to production
1.43_01 April 11, 2013
- _template_modified returns value from super class instead of 1 if true (GH#36, Fayland Lam)
1.43 April 8, 2013
- promote development changes

View File

@@ -5,7 +5,7 @@ license = Perl_5
copyright_holder = Ask Bjørn Hansen
# copyright_year = 2009
version = 1.43
version = 1.44
[Prereqs]
Mojolicious = 3.33

View File

@@ -177,8 +177,7 @@ sub options { @_ > 1 ? $_[0]->{options} = $_[1] : $_[0]->{options} }
sub _template_modified {
my($self, $template) = @_;
return 1 if $self->SUPER::_template_modified($template);
return $template =~ /^templates(?:\/|\\)/;
$self->SUPER::_template_modified($template) || $template =~ /^templates(?:\/|\\)/;
}
sub _template_content {