【发布时间】:2015-01-11 13:27:10
【问题描述】:
我已经对我的 yiitestapp 进行了调整,并且能够通过在视图中创建自己的功能和页面来显示所需的内容。但是,我想链接我在菜单栏上创建的那些页面。如何覆盖 url 路径?
比如这行代码:
array('label'=>'Manage Chemicals', 'url'=>array('%2FGetChemicals')),
生成地址
localhost/yiitestapp/index.php?r=product_try/%2FGetApparatus
但我需要“/”。
【问题讨论】:
标签: url yii path-finding