mardi 21 juin 2016

In Laravel, call domain route from blade href link

I am trying to call the domain route from blade href link. Below is the route..

Route::group(['domain' => 'sample.test.dev'], function(){
  Route::group(['middleware' => ['web']], function () { 
      Route::resource('test','SampleController');
  });
});
Route::get('/',function(){
   return view('testLink');
});

Then in testLink.blade.php,

<a href="">Click here</a>

I can't able to call the domain route. Please help. Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire