I cannot access route inside panel service provider
I am trying to add custom navigation item but I can not access
route()
helper
I am follow same structure like docs
https://filamentphp.com/docs/3.x/panels/navigation#registering-custom-navigation-itemsSolution:Jump to solution
Werid , I'v tried it today and it's work without change anything , maybe it's cache problem " Iam sure i've cleared cache "
5 Replies
I didn't understand what is the goal, but you can do this
@Leandro Ferreira I am trying to implement custom nav item " https://filamentphp.com/docs/3.x/panels/navigation#registering-custom-navigation-items "
but it's throw this error
did you remove the
dd()
?Sure, I'v just added it to debugging
Solution
Werid , I'v tried it today and it's work without change anything , maybe it's cache problem " Iam sure i've cleared cache "