Skip to content

Instantly share code, notes, and snippets.

@nelsongei
Created September 9, 2021 07:05
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nelsongei/a3af5ed94eb7c74a67e6533f3fa7e088 to your computer and use it in GitHub Desktop.
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\AttachmentController;
/*
|--------------------------------------------------------------------------
| 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('/',[AttachmentController::class,'index']);
Route::post('/send',[AttachmentController::class,'send']);
Auth::routes();
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment