The approach in Sf2.1 would be to add: "mthaml/mthaml": "dev-master" in the require section of the composer.json and then do a
php composer.phar install so composer install it and register it automatically - all done and ok.
But when I add the following line to /app/config.yml as described in your step 4:
framework:
...
templating:
engines: ['haml','twig']
I get this error:
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "templating" has a dependency on a non-existent service "templating.engine.haml".
Hi :-)
The approach in Sf2.1 would be to add: "mthaml/mthaml": "dev-master" in the require section of the composer.json and then do a php composer.phar install so composer install it and register it automatically - all done and ok.
But when I add the following line to /app/config.yml as described in your step 4: framework:
...
I get this error:
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
The service "templating" has a dependency on a non-existent service "templating.engine.haml".
Is there a solution for that?