Closed shinnlu closed 8 years ago
i found the solution:
active_class(if_uri_pattern(['admin']), 'active', '')
but how to set default output to 'active' and empty
I'm sorry for responding late. It's great that you found the solution. I updated the README file so that the "Usage" section become more noticeable. If you're new to this package, this page can tell you how to use "Active".
my code `
output
` why it's return '1' not 'active'