'Invalid route action: [App\Http\Livewire\trips\Active]
The project is running well on local machine but when updating it on centos server, it gives the error Invalid route action: [App\Http\Livewire\trips\Active]. the rest of the routes are working fine apart from the ones on in the subfolders trips.
See the image enter image description here
Here is my web.php
Route::get('/active',\App\Http\Livewire\trips\Active::class)->name('active');
Here is the controller
class Active extends Component {
public function render()
{
return view('livewire.trips.active');
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
