':section/:page' => 'web/route',
public function action_route() { print $this->param('section'); print '<hr />'; print $this->param('page'); }
'blog/:year/:month/:id' => 'blog/entry'in case of /blog/2010/11/entry_name/foo, 'id' will now contain 'entry_name/foo' If you don't want that, work around that with a 'catch-all' in your regex:
'blog/:year/:month/:id(|/.*)' => 'blog/entry'which will 'eat' all extra URI segments...
Why notHarro Verton wrote on Thursday 7th of April 2011:'blog/:year/:month/:id(|/.*)' => 'blog/entry'which will 'eat' all extra URI segments...
'blog/:year/:month/:id(:any)' => 'blog/entry' or 'blog/:year/:month/:id/(:any)' => 'blog/entry', as described in manual??
It looks like you're new here. If you want to get involved, click one of these buttons!