Support the ongoing development of Laravel.io →
Eloquent Views
Last updated 2 years ago.
0

public_path() will give you the first segment of the uri. Also assets(). There's a bunch of these helper functions here"

http://laravel.com/docs/helpers#urls

The HTMLBuilder API has several methods to use for linking to various assets.

http://laravel.com/api/class-Illuminate.Html.HtmlBuilder.html

Last updated 2 years ago.
0

Perhaps {{URL::to('/')}} would help..

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.