Designs and API Routes
This commit is contained in:
@@ -19,7 +19,7 @@ use App\Http\Controllers\TopicsController;
|
||||
*/
|
||||
|
||||
Route::get('today', \TodaysPick::class)->name('today');
|
||||
Route::get('latest', \LatestArticles::class)->name('latest');
|
||||
Route::get('recent', \RecentArticles::class)->name('recent');
|
||||
|
||||
Route::get('topics', [TopicsController::class, 'index'])->name('topics.index');
|
||||
Route::get('topic/{topic:slug}', [TopicsController::class, 'show'])->name('topics.show');
|
||||
|
@@ -13,6 +13,6 @@ use Illuminate\Support\Facades\Route;
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
Route::get("/",function(){
|
||||
return view('home');
|
||||
});
|
Reference in New Issue
Block a user