0

I'm using the following line of code to make the div active:

{{ Request::is('admin/customers') ? 'active_admin_menu' : null }}

This works great when the link is on admin/customers, but as soon as the link goes to admin/customers/123 then the link goes non active again.

Is there a way to fix this?

1 Answer 1

2

You could try adding a wildcard

Request::is('admin/customers*')
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.