You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
592 B

3 years ago
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. use App\Http\Controllers\FileUpload;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Web Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register web routes for your application. These
  10. | routes are loaded by the RouteServiceProvider within a group which
  11. | contains the "web" middleware group. Now create something great!
  12. |
  13. */
  14. Route::get('/', [FileUpload::class, 'createForm']);
  15. Route::post('/', [FileUpload::class, 'fileUpload'])->name('fileUpload');