Skip to content

Certain routes do not work #14

@nikolayynayydenov

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

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