This change caught me also, you have 2 options in a template (as far as I know):

%= include(’template’);

This is a helper which internally calls:

%= $self->render_to_string(‘template’);

replacing:
%= $self->render(‘template’, partial => 1);

Docs:
http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Including-partial-templates

Cheers,
Mark Dueck
Email: [email protected]
Skype: mark_dueck
Cell: 0411 620 778
www.opmantek.com

On 12 Sep 2014, at 8:54 am, Renato Forti <[email protected]> wrote:

> How I can do this? Any sample? Thanks for your help!
> 
> Em 11/09/2014 19:02, "Виктор Турский" <[email protected]> escreveu:
> 2014-09-12 0:16 GMT+03:00 Renato Forti <[email protected]>:
> > partial => 1
> "partial" was removed in 5.0: "Replaced reserved stash value partial
> with render_to_string method."
> 
> 
> 
> --
> Viktor Turskyi
> http://webbylab.com
> http://koorchik.blogspot.com
> 
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "Mojolicious" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/mojolicious/KRFMV9e_rPA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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 http://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to