1
This is the structure of my project where my page is;
This is my controller;
public function create()
{
return view(imoveis.create);
}
It is configured so my route, is in my file web.php
;
Route::resource('imoveis', 'ImovelController');
And it’s returned me this error message in the URL: http://localhost:8000/imoveis/create
I wonder where I went wrong?
The error message explains the problem as constant not defined, ie immobles.create does not exist should have a single or double Apas I believe that solves type
view("imoveis.create");
– novic
@Virgilionovic, you’re right, it’s missing the Quotation marks.
– NoobSaibot
@Virgilionovic can post the answer, because you’re right, it worked!
– wladyband