rcrowe / TwigBridge

Give the power of Twig to Laravel
MIT License
894 stars 168 forks source link

Issue with last update #360

Open christophemassin opened 5 years ago

christophemassin commented 5 years ago

Hello,

Since yesterday, following update on 0.9.10, i got an issue when using a model inside a twig template.

/**

i got an error telling me that i can't get logo_url. In the template view, i see that the system is trying to call logo_url() , even if it's written : {{ organisation.logo_url }}

The only way to have it working is :

public function logo_url()
{
    return $this->logo_url;
}

inside the model.

Will i have to go and change all my models ?

Thanks for the help

barryvdh commented 5 years ago

Does 0.9.12 fix it?