Question and answer is powered by AnsPress.io
Hello everyone, I am trying to set a hyperlink using this code but it is not work.
<li><a href="{{route('home')}}">Home</a></li>
If you have faced this problem, you can follow this code. I think it will be helpful for you:
Route:
Route::get('dashboard','HomeController@dashboard_show');
Set Link:
<li> <a href="{{url('dashboard')}}" class="active">Dashboard</a> </li>