Server IP : 66.29.132.124 / Your IP : 18.191.171.43 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/News/Routes/ |
Upload File : |
<?php use Illuminate\Support\Facades\Route; Route::group(['prefix'=>config('news.news_route_prefix')],function(){ Route::get('/'.config('news.news_category_route_prefix').'/{slug}', 'CategoryNewsController@index')->name('news.category.index'); Route::get('/'.config('news.news_tag_route_prefix').'/{slug}', 'TagNewsController@index')->name('news.tag.index'); Route::get('/','NewsController@index')->name('news.index');// News Page Route::get('/{slug}','NewsController@detail')->name('news.detail');// Detail });