Closed jrean closed 8 years ago
Hi,
I followed your documentation and when just simply trying the following code I got the error:
Argument 1 passed to if_route() must be of the type array, string given
active_class(if_route('xxx.xxx'))
I have a route named xxx.xxx...
xxx.xxx
You should fix your documentation.
Thank you
+1
i think it's better to make it accept both string and array. casting it to array inside the helper would be better.
Now, this feature is implemented in version 3.2.0
Hi,
I followed your documentation and when just simply trying the following code I got the error:
active_class(if_route('xxx.xxx'))
I have a route named
xxx.xxx
...You should fix your documentation.
Thank you