P is for Practical | |
PerlMonks |
Re^4: Mojo 0.7 released (Perl on Rails in 150 lines of code)by sri (Vicar) |
on Oct 21, 2008 at 09:31 UTC ( [id://718426]=note: print w/replies, xml ) | Need Help?? |
->route will create a new route object, which has a method ->to that sets some attributes in the object. There is no hidden magic and they should not touch parent or child routes, but default values (and captures) will be forwarded to child routes when matching a path. This would be a nested route example where defaults and captures get forwarded. (controller => 'bar' in this case)
In Section
Perl News
|
|