Do you need to add non default routes? Or is this $r->route('/:controller/:action/:id') part enough to declare the parsing of the uri and routing the the appriopriate controller and action? If my assumptions are right - then does ->to really mean ->default?# Default route $r->route('/:controller/:action/:id') ->to(controller => 'example', action => 'welcome', id => 1);
In reply to Re: Mojo 0.7 released (Perl on Rails in 150 lines of code)
by zby
in thread Mojo 0.7 released (Perl on Rails in 150 lines of code)
by sri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |