0
我的網址是:Cakephp路由不工作,因爲我的需要?
http://localhost/rehabhousing/homes/articles/3/terms-conditions
現在我們的路由我的網址
http://localhost/rehabhousing/terms-conditions
但是URL是在去年創造dynamicall
我的網址是:Cakephp路由不工作,因爲我的需要?
http://localhost/rehabhousing/homes/articles/3/terms-conditions
現在我們的路由我的網址
http://localhost/rehabhousing/terms-conditions
但是URL是在去年創造dynamicall
我可以做
$routes->connect('/terms-conditions/*', ['controller' => 'Homes','action' => 'articles',3,'terms-conditions']);