dimanche 3 septembre 2017

laravel route() generate link with different domain name

I have defined my routes in laravel web.php file like this.

 Route::get('/landing')->name('landing');

I can generate links for this route like this:

route('landing')

and the result link in my html files is sth like "mysite.com/landing" is there any way to generate links for another domain name. I mean by calling the route('landing') the result be sth like "http://ift.tt/2wy208u"



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire