Thanks to coderego from the IRC channel. Solution is simple:
Route::get('/{slug}', 'Controller@show');
Route::resource('/admin/sites', 'Controller',
['except' => ['show']]);
There is another way you could do as, Route::get('/{slug}', ['as' => 'site.show', 'uses' => 'SiteController' ]);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community