How to put route in anchor tag in laravel 5.2
For coders using routes names, simply they can use to() method:
return redirect()->to(route('dashboard').'#something');
In templates:
{{ route('dashboard').'#something' }}
You can do this quite simply with the url()
helper.
Just replace your anchor tag like so:
<a id="index" class="navbar-brand" href="{{url('/nitsadmin/dashboard')}}">
<img src="../img/admin/nitseditorlogo.png" alt="Logo">
</a>
Regarding the image that you have used in there, if these were to be stored in your public folder then you could always use the asset()
helper. This would help you turn your absolute links to in dynamic ones.