kenjis / codeigniter-ss-twig

A Simple and Secure Twig integration for CodeIgniter 3.x and 4.x
MIT License
168 stars 46 forks source link

Add function in twig #48

Closed ArmandArthur closed 3 years ago

ArmandArthur commented 5 years ago

Hello,

i did : $config = [ 'functions' => ['can'], ]; $this->load->library('twig', $config); in my parent controller

and i try to use the method of helper about: https://github.com/firoz-ahmad-likhon/codeigniter-role-base-access-control

Without success....

do you have an idea?

ArmandArthur commented 5 years ago

Help me please !?

kenjis commented 3 years ago

If you have still the problem, feel free to reopen.