Hello,
why are my models like {{ company.name }}, {{ user.name }} and {{ region.name }} undefined?
I have a link with an user id:
 {{ link_to("users/setcard?setcard=" ~ user.id, '<i class="icon-fast-forward"></i> Last', "class": "btn") }}
  https://localhost:8000/projects/vokuro/users/setcard?setcard=1This is my UserController.php:
public function setcardAction(){
    if ($this->request->isPost()) {
        $query = Criteria::fromInput($this->di, 'Vokuro\Models\Users', $this->request->getPost());
        $this->persistent->searchParams = $query->getParams();
    } else {
        $this->request->getQuery("setcard", "int");
    }
    $parameters = array();
    if ($this->persistent->searchParams) {
        $parameters = $this->persistent->searchParams;
    }
    $users = Users::find($parameters);
    if (count($users) == 0) {
        $this->flash->notice("The search did not find any users");
        return $this->dispatcher->forward(array(
            "action" => "index"
        ));
    }
}And the setcard.volt, ok this is not so much right now.
{{ content() }}
Setcard {{ user.name }}My SetcardController.php:
<?php
namespace Vokuro\Controllers;
class SetcardController extends ControllerBase
{
public function initialize()
{
    $this->view->setTemplateBefore('private');
}
}Kind Regards
Stefan