PHP 7.4 sugar
This commit is contained in:
		@@ -18,17 +18,9 @@ use App\Http\Controllers\NameSpaceController;
 | 
			
		||||
|
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
Route::get('/', function () {
 | 
			
		||||
    return view('home');
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
Route::get('/preview', function () {
 | 
			
		||||
    return view('pages.preview');
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
Route::get('/download/android', function () {
 | 
			
		||||
    return redirect("https://play.google.com/store/apps/details?id=dev.baraveli.karudhaas");
 | 
			
		||||
});
 | 
			
		||||
Route::get('/', fn () => view('home'));
 | 
			
		||||
Route::get('/preview', fn () => view('pages.preview'));
 | 
			
		||||
Route::get('/download/android', fn () =>  redirect("https://play.google.com/store/apps/details?id=dev.baraveli.karudhaas"));
 | 
			
		||||
 | 
			
		||||
Route::get('/article/{source}/{guid}', [ArticlesController::class, 'show'])->name('articles.show');
 | 
			
		||||
Route::get('/topic/{topic:slug}', [TopicsController::class, 'show'])->name('topics.show');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user