cedriclombardot/AdmingeneratorGeneratorBundle — comment on commit 1c24d69ff374ebc23450c2349a0cc0073abb0acd
File:  line 0
By schmittjoh:

The Twig function is now available.

As for the role check it is ``hasRole("ROLE_ADMIN")``, I don't think we can get around that. However, you are free to leave off the "ROLE_" prefix from your roles.