in reply to Re^3: Mojo 0.7 released (Perl on Rails in 150 lines of code)
in thread Mojo 0.7 released (Perl on Rails in 150 lines of code)
This would be a nested route example where defaults and captures get forwarded. (controller => 'bar' in this case)# /foo my $x = $r->route('/foo')->to(controller => 'bar'); # /foo/* $x->route('/:action')->to(action => 'test');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Mojo 0.7 released (Perl on Rails in 150 lines of code)
by zby (Vicar) on Oct 21, 2008 at 10:12 UTC | |
by sri (Vicar) on Oct 21, 2008 at 11:59 UTC |