Skip to content

Instantly share code, notes, and snippets.

@sehmbimanvir
Created March 24, 2019 06:22
Show Gist options
  • Save sehmbimanvir/e9c41bc601a31a3bca136f75cee0d286 to your computer and use it in GitHub Desktop.
Save sehmbimanvir/e9c41bc601a31a3bca136f75cee0d286 to your computer and use it in GitHub Desktop.
Laravel Routes
<?php
/*
|--------------------------------------------------------------------------
| 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!
|
*/
Auth::routes();
Route::get('/', 'HomeController@index')->name('home');
Route::get('/images', 'ImageController@getImages')->name('images');
Route::post('/upload', 'ImageController@postUpload')->name('uploadfile');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment