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
When I invoke is_active('article.create') in ArticleController@create it returns false. If I change the route to just "/article" and change the name from "article.create" to "article", it works.
The same problem occurs on "/".
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. Just to clarify, you have a route named article.create and is_active won’t recognise it? If you could describe the exact problem you are seeing on ‘/‘ too.
Lumen uses a different router to Laravel but I would have through the route matching worked the same. Once I have your two broken examples I’ll try find out what is going on.
I named it "home" and the route works (pages switch on click) but is_active() returns false. The same happens when I change the name of the route to an empty string ""
I am using lumen framework and I noticed multiple word named routes do not work with this package.
When I invoke is_active('article.create') in ArticleController@create it returns false. If I change the route to just "/article" and change the name from "article.create" to "article", it works.
The same problem occurs on "/".
The text was updated successfully, but these errors were encountered: