fabpot/Silex — pull request #810 by Danez (2013-10-16 14:59:40+00:00)
Title: Possibility to change forms layout path

Currently I found no nice way to have my own form layout files.
Of course I can overwrite the form-blocks inside of templates, but that was not satisfying for our use case. We wanted to overwrite a form-block for the whole application.

This change allows to specify an additional path for the form layout, or if someone really wants overwrite the default symfony resource folder and use their own layout path.

An other way would have been to register an additional Twig_Loader_Filesystem for my path, but in my opinion this change is more elegant and does not require an additional loader.

No BC breaks.