varun6578 liked this thread
You created a relative link that use the current page as starting point.
In your example, you are on: http://domain.tld/cars/
cars/create result in http://domain.tld/cars/cars/create
/cars/create result in http://domain.tld/cars/create
http://domain.tld/cars/create result in http://domain.tld/cars/create
Another option is to use the url helper.
<a
href="{{ url('cars/create')}}"
</a>
Hello Varun Sharma,
You Can Use This Also
<a href="{{'cars/create'}}">Link</a>
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community