Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f072b88be | ||
|
|
0faf79001b |
@@ -2,6 +2,9 @@ Revision history for Mojolicious::Plugin::TtRenderer
|
|||||||
|
|
||||||
{{$NEXT}}
|
{{$NEXT}}
|
||||||
|
|
||||||
|
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
|
1.43 April 8, 2013
|
||||||
- promote development changes
|
- promote development changes
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ license = Perl_5
|
|||||||
copyright_holder = Ask Bjørn Hansen
|
copyright_holder = Ask Bjørn Hansen
|
||||||
# copyright_year = 2009
|
# copyright_year = 2009
|
||||||
|
|
||||||
version = 1.43
|
version = 1.43_01
|
||||||
|
|
||||||
[Prereqs]
|
[Prereqs]
|
||||||
Mojolicious = 3.33
|
Mojolicious = 3.33
|
||||||
|
|||||||
@@ -177,8 +177,7 @@ sub options { @_ > 1 ? $_[0]->{options} = $_[1] : $_[0]->{options} }
|
|||||||
|
|
||||||
sub _template_modified {
|
sub _template_modified {
|
||||||
my($self, $template) = @_;
|
my($self, $template) = @_;
|
||||||
return 1 if $self->SUPER::_template_modified($template);
|
$self->SUPER::_template_modified($template) || $template =~ /^templates(?:\/|\\)/;
|
||||||
return $template =~ /^templates(?:\/|\\)/;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub _template_content {
|
sub _template_content {
|
||||||
|
|||||||
Reference in New Issue
Block a user