I have this variable that should be in my url but includes the "." (dot). Sorry I am still noob in laravel.
Expected Result is localhost/myProject/public/var_name
Eror says
View [.sampleVariable] not found.
my line is
return view('/'.$create->var_name)->compact('anotherVar','anotherVar');
and my route is Route::get('{var_name}', 'MyController@index');