Source route

This commit is contained in:
2020-08-08 23:30:20 +05:00
parent f156ec92e2
commit 3226a58a96

View File

@@ -3,6 +3,8 @@
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ArticlesController;
use App\Http\Controllers\SourceController;
use App\Http\Controllers\SourcesController;
use App\Http\Controllers\TopicsController;
/*
@@ -22,4 +24,7 @@ Route::get('latest', \LatestArticles::class)->name('latest');
Route::get('topics', [TopicsController::class, 'index'])->name('topics.index');
Route::get('topic/{topic:slug}', [TopicsController::class, 'show'])->name('topics.show');
Route::get('sources', [SourcesController::class, 'index'])->name('sources.index');
Route::get('source/{source:slug}',[SourcesController::class, 'show'])->name('sources.show');
Route::get('article/{article:id}', [ArticlesController::class, 'show'])->name('article.show');