【发布时间】:2012-07-24 01:04:48
【问题描述】:
在下面的配置中,除了指定每个路由使用控制器thisisatest,当URL为this-is-a-test/action时,是否可以使用正则表达式或任何其他方法?我是否必须构建/扩展我自己的路由器类?
<?php
return array(
'_root_' => 'home/index', // The default route
'_404_' => 'error/404', // The main 404 route
//'hello(/:name)?' => array('welcome/hello', 'name' => 'hello')
);
/* end of config/routes.php */
【问题讨论】:
标签: php fuelphp fuelphp-routing