what are you doing when you get the error?
Aug 19, 2020
13
Level 1
The GET method is not supported for this route. Supported methods: HEAD.
I am new at laravel, but please good F**k, i am going crazy! I have install all with composer i have install bootstrap --auth
I have try evertyting and i only have this 2 routes (attached image link) at the moment i have remove any route from api.php (had 1 default route)
My routes:
Route::get('/', 'HomeController@home')->name('home');
Route::get('/home', 'HomeController@index')->name('index');
My homeController.php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function __construct()
{
$this->middleware('guest');
}
public function index()
{
return view('home');
}
public function home()
{
return view('welcome');
}
}
But i still get this messa i have try get i have try post i have try match(array('GET', 'POST'), and nothing!
Please help me :(
Image link: https://ibb.co/PrH6Ff9
Please or to participate in this conversation.