The controller property seems to have been removed from ActionColumn and this column definition no longer works, when defining a GridView widget

‘columns’ => [

[indent][‘class’ => ‘yii\grid\ActionColumn’, ‘controller’=>‘user’, ‘template’=>’{view}’],[/indent]


How can I now specify the controller to be used in an ActionColumn?


Not sure what error you’re getting, but I’m seeing that property in there.

class ActionColumn extends Column



	 * @var string the ID of the controller that should handle the actions specified here.

	 * If not set, it will use the currently active controller. This property is mainly used by

	 * [[urlCreator]] to create URLs for different actions. The value of this property will be prefixed

	 * to each action name to form the route of the action.


	public $controller;