Skip to content

Instantly share code, notes, and snippets.

@yko
Created January 16, 2010 09:59
Show Gist options
  • Save yko/278768 to your computer and use it in GitHub Desktop.
Save yko/278768 to your computer and use it in GitHub Desktop.
my $kw = $r->route('/keywords')
->to(controller => 'stats', action => 'keywords')
->name('keywords');
my $kwid = $kw->waypoint('/:id', id => qr/\d+/)
->to('action' => 'keyword_stats')
->name('keyword stats');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment