Support the ongoing development of Laravel.io →
Requests
Last updated 1 year ago.
0

the problem is generating routes anchors?

maybe this helps (route and url) route with named routes

generate absolute url including host

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

http://laravel.com/docs/routing#named-routes

example:
Route::get('test', array('as' => 'test', 'uses' => 'TestController@test'));

in views:
<a href="{{ route('test') }}"> Test </a>

Last updated 1 year ago.
0

Sorry, the issue is with executing the php artisan routes command

Last updated 1 year ago.
0

$_SERVER['HTTP_HOST'] is not set when you ru comands from cli

Where do you get an error? File?

Last updated 1 year 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.