in reply to Mojo 0.7 released (Perl on Rails in 150 lines of code)
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mojo 0.7 released (Perl on Rails in 150 lines of code)
by sri (Vicar) on Oct 21, 2008 at 08:58 UTC | |
by zby (Vicar) on Oct 21, 2008 at 09:05 UTC | |
by sri (Vicar) on Oct 21, 2008 at 09:31 UTC | |
by zby (Vicar) on Oct 21, 2008 at 10:12 UTC | |
by sri (Vicar) on Oct 21, 2008 at 11:59 UTC |