osb/routes/web.php

25 lines
777 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
2017-11-03 05:26:07 +00:00
|--------------------------------------------------------------------------
|
| 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!
2017-11-03 05:26:07 +00:00
|
*/
Route::get('/', function () {
return view('welcome');
});
2017-12-04 12:37:14 +00:00
// Generic Image Renderer - Render images that we dont have with a generic image
Route::get('image/generic/{width}/{height}/{color}/{name?}','MediaController@image')->name('image');
Route::group(['middleware'=>['theme:adminlte-be']], function() {
Auth::routes();
Route::get('/logout','Auth\LoginController@logout');
});