S
S
Sergey Melnikov2015-08-14 14:52:04
Yii
Sergey Melnikov, 2015-08-14 14:52:04

How to open correct Action in tree view kartik form?

I can't figure out what the problem is. Attributed action ['level/actionlevel'] in actionform
So he adds the treemanager controller to me ahead of the prescribed one, how can I write the action correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav, 2015-08-14
@azazel_live

Most likely you need to write ['/level/actionlevel'].
According to the official guide - an absolute route, regardless of which controller or module the Url::toRoute() method is called, with the help of which, respectively, the URL action of the form is generated from the array.

O
odanic, 2015-11-29
@odanic

If it is still relevant for someone: it
is enough to put "/" i.e. write not ['level/actionlelvel'], but ['/level/actionlelvel'].

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question