Todo add token only on form create or edit url
This commit is contained in:
parent
5306512da2
commit
7bf04402df
1 changed files with 1 additions and 0 deletions
|
|
@ -271,6 +271,7 @@ class Context
|
|||
*/
|
||||
public function getControllerUrl($controller = false, $moreParams = '', $addToken = true)
|
||||
{
|
||||
// TODO : addToken parameter on auto to detect (create or edit) action and add token on url
|
||||
$url = $this->rootUrl;
|
||||
|
||||
if (empty($controller)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue