使用 View URL Helper 的 url :
$this->url(array('controller'=>'category', 'action'=>'index', 'type'=>'money'));
切換到其他頁面的時候,會發現那個 /type/money 還在,
本來我是很笨的在其他頁面用
echo $this->url(array('type'=>null));
$this->url(array('controller'=>'category', 'action'=>'index', 'type'=>'money'));
切換到其他頁面的時候,會發現那個 /type/money 還在,
本來我是很笨的在其他頁面用
echo $this->url(array('type'=>null));