Answer the question
In order to leave comments, you need to log in
Where does the "Route with name "" not found" error come from when changing the Template?
I don’t understand the logic of what is happening at all, help)
Routing:
'organizations' => array(
'type' => 'Literal',
'options' => array(
'route' => '/poi',
'defaults' => array(
'controller' => 'application.controllers.organizations',
'action' => 'index',
),
),
public function indexAction()
{
...
$view = new ViewModel(array(
'data' => $organizations
));
$view->setTemplate('realestate/index');
return $view;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question