Skip to content

Certain routes do not work #14

Description

@nikolayynayydenov

I am using lumen framework and I noticed multiple word named routes do not work with this package.

<a href="{{route('article.create')}}" class="{{active(['article.create'], 'active')}}">
    New Article
</a>
$router->get('/article/create', [
    'as' => 'article.create',
    'uses' => 'ArticleController@create'
]);   

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 "/".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions