Closed zessx closed 10 years ago
Example :
Atomik::set(array( 'app' => array( 'routes' => array( ':year/archives' => array('action' => 'archives/index') ) ) );
For http://domain.tld/2014/archives uri, action will be 2014/archives instead of archives/index, as the :year parameter is not caught.
http://domain.tld/2014/archives
2014/archives
archives/index
:year
Example :
For
http://domain.tld/2014/archives
uri, action will be2014/archives
instead ofarchives/index
, as the:year
parameter is not caught.