Todo add token only on form create or edit url

This commit is contained in:
VESSILLER 2023-11-17 22:27:39 +01:00
parent 5306512da2
commit 7bf04402df

View file

@ -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)) {