Skip to content

Class based routes mishandles parameter in name (edge case) #45

Closed
@ordago

Description

@ordago

Desktop:

  • OS: Windows
  • OS Version: 10
  • App Version: 0.6.0.0

Describe the bug
While upgrading an app with a non conventional route naming convention I found the the names were not converted correctly.

To Reproduce
Steps to reproduce the behavior:
3. Run Class based routes task

-Route::get('/event/{event}', 'EventController@show')->name('events@show');
+Route::get('/event/{event}', [EventController::class, 'show'])->name([events::class, 'show']);

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions