Article Save and sweet alert

This commit is contained in:
2020-08-17 03:05:09 +05:00
parent 31e2e89e9b
commit e4d01339ef
24 changed files with 126620 additions and 28 deletions

View File

@@ -6,6 +6,7 @@ use App\Article;
use App\Http\Controllers\ArticlesController;
use App\Http\Controllers\TopicsController;
use App\Http\Controllers\SourcesController;
use App\Http\Controllers\MylistController;
/*
|--------------------------------------------------------------------------
@@ -26,6 +27,10 @@ Route::get('/article/{article:id}', [ArticlesController::class,'show'])->name('a
Route::get('/topic/{topic:slug}', [TopicsController::class,'show'])->name('topics.show');
Route::get('/source/{source:slug}', [SourcesController::class,'show'])->name('sources.show');
Route::get('/mylist', [MylistController::class, 'index'])->name('mylist.index');
Route::post('/mylist/{article:id}', [MylistController::class, 'store'])->name('mylist.store');
Route::get('/ogimage', function(Request $request) {
$article = Article::findOrFail($request->query('id'));