Created
December 25, 2020 18:31
-
-
Save rajeshtva/edad67ec4d6b6cd4433bf686efc44cfb to your computer and use it in GitHub Desktop.
web.php file for video length validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use App\Http\Controllers\VideoValidationController; | |
use App\Jobs\HelloUserMailJob; | |
use App\Mail\HelloUserMail; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\Request; | |
use Illuminate\Support\Facades\Route; | |
/* | |
|-------------------------------------------------------------------------- | |
| 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'); | |
}); | |
Auth::routes(); | |
Route::get('/video-upload', [VideoValidationController::class, 'get_form'])->name('video-upload'); | |
Route::post('/video-length-validate', [VideoValidationController::class, 'validate_length'])->name("video-length-validation"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment