arnaud-lb / MtHamlBundle

Symfony2 HAML bundle
38 stars 13 forks source link

mthaml.twig.extension.class parameter #4

Closed peterhorne closed 12 years ago

peterhorne commented 12 years ago

After updating to the lastest version (523156e537) I get the following error when clearing symfony's cache:

The service "mthaml.twig.extension" has a dependency on a non-existent parameter "mthaml.twig.extension.class".

What should I set the parameter to? I couldn't find any information about this in the docs.

peterhorne commented 12 years ago

I think I have fixed the issue by setting the parameter to MtHaml\Support\Twig\Extension. Please can someone confirm that this is the correct class to use?

arnaud-lb commented 12 years ago

The parameter was missing from the config file, I've just pushed a fix, could you confirm that it works now ?

Thanks

peterhorne commented 12 years ago

Yes, the fix works perfectly thanks!