You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
I think it would be a good idea to include the route parameters and not only the route name.
Lets say we need to set an active class for the route admin/product-types/{product_types}/categories.
We can do something like (not a very good example but hopefully you get the point): Active::route(['admin.product-types.categories.index' => [$product_type->id]])
The text was updated successfully, but these errors were encountered:
I released a minor update for the 2.x version. Your can see the release note.
In your case, I suggest using this expression to set the active class when the current route is admin.product-types.categories.index and the value of the product_types parameter is 1:
I think it would be a good idea to include the route parameters and not only the route name.
Lets say we need to set an active class for the route
admin/product-types/{product_types}/categories
.We can do something like (not a very good example but hopefully you get the point):
Active::route(['admin.product-types.categories.index' => [$product_type->id]])
The text was updated successfully, but these errors were encountered: