mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
5b8d189df4
This fixes #578 by adding the ability to pass the CMS Controller instance to the CMS Twig Extension removing the reliance on context variables as well as making the expected "global" twig variables inside of the CMS Twig environment actually global within that environment. Replaces #598 & #593. Credit to @RomainMazB for the initial implementation.