我的网址是:
http://localhost/rehabhousing/homes/articles/3/terms-conditions
现在我们路由我的网址
http://localhost/rehabhousing/terms-conditions
但是url是create dynamicall
答案 0 :(得分:0)
最后我能做到
$routes->connect('/terms-conditions/*', ['controller' => 'Homes','action' => 'articles',3,'terms-conditions']);