Hi,
After recent update my app stopped to work because it can't find a
template to render the page.
I have:
$r->route(':url', url => qr/(.*)/)->to(controller => 'site', action =>
'render_url', paged => 0, module => 'Text');
..
sub render_url
{
my $self = shift;
$self->render(template => 'inner_page');
}

I have templates/inner_page.html.ep

But in error log I see:  [debug] Template
"inner_page.holy-land/8/mon/1.ep" not found

It works only if I do render twice:
$self->render(template => 'inner_page');
$self->render(template => 'inner_page');

or if I specify format: $self->render(template => 'inner_page', format
=> 'html');
but this will require many changes in application.

What is changed? How can I avoid this?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to