Skip to content

Commit 0eda2d4

Browse files
committed
chore: updated readme and removed unnecessary line
1 parent ae01d9a commit 0eda2d4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Route::auto('/test', 'Backend.TestController');
338338
Route::auto('/test', 'Backend\\TestController');
339339
```
340340

341-
## with Livewire & Volt
341+
## Livewire & Volt support
342342
You can define Livewire or Volt component routes directly in your controller by using Auto Routes package!
343343
For this, you should add new methods which have prefix `volt` or `wire`. That's it. Auto Routes package will automatically discover your Livewire routes and add them into the application routes.
344344

src/AutoRoute.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ function () use ($controller, $only, $except, $patterns) {
135135
}
136136

137137
$handler = $method->invoke(new ($classRef->getName()));
138-
139138
if (!is_subclass_of($handler, Component::class)) {
140139
continue;
141140
}

0 commit comments

Comments
 (0)