I have a simple problem, basically I am getting name of the website from database and create a link according to it's name. it looks like:
@foreach ($websites as $website)
<a class="websites" href=" {{ asset ($website->name )}}"> {{ asset ($website->name )}}
</a> @endforeach
Which gives for example: http://localhost/name
Howver links needs to be like this:
http://localhost/website/name
how can I add /website
into my URL using blade template in laravel?