I have a prefix called admin. My all controller in admin folder.
In route I have created route like below with namespace
Route::group(['namespace' => 'Admin', 'prefix' => 'admin'], function()
{
Route::resource('/tags', 'TagsController');
});
Now I am trying to create link in my admin panel sidebar
<a href="{{ url('admin/tags') }}" title="bookmark">Tags</a>
In table I have used action like below example
<a href="{{action('Admin\TagsController@show',['tag'=>$tag->id])}}" >View</a>
My question is how can I create both link without writing admin ? I have more then 100 unique link , I want to avoid to write this admin prefix every time in link.