Skip to content

Route::is() and Route:has() #25

Closed
Closed
@FedericoHeichou

Description

@FedericoHeichou

Hello, I suggest to implement Route::is() and Route::has() to check the current route.
Actually I did a workaround:
Route::is('login') became Route::is(app()->getLocale() . '.login')
Route::has('register') became Route::has(app()->getLocale() . '.register')

But this is no nice.
Thanks for your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions