Skip to content

Instantly share code, notes, and snippets.

@DemianKost
Created November 7, 2022 13:51
Show Gist options
  • Save DemianKost/b4bb3669646b2f081ac040d7bf17d279 to your computer and use it in GitHub Desktop.
Save DemianKost/b4bb3669646b2f081ac040d7bf17d279 to your computer and use it in GitHub Desktop.
Gist for my AWS S3 Bucket and Laravel article on Medium
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\DiskController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
return view('welcome');
});
Route::get('/disk', [DiskController::class, 'index']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment