This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
memberdb/routes/web.php

57 lines
1.8 KiB
PHP
Raw Normal View History

2016-10-13 04:56:01 +00:00
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/
// The default home page
Route::get('/', function () {
return view('welcome');
});
2017-08-05 23:53:57 +00:00
Route::get('logout','Auth\LoginController@logout');
// Generic Image Renderer - Render images that we dont have with a generic image
Route::get('image/generic/{width}/{height}/{color}','MediaController@image')->name('image');
2017-08-05 23:53:57 +00:00
// Backend Routes
Route::group(['middleware'=>['auth','admin','setTheme:adminlte-be'],'prefix'=>'a'], function() {
2017-08-05 23:53:57 +00:00
Route::get('/home', function()
{
2017-08-05 23:53:57 +00:00
return View::make('home');
})->name('home');
});
Route::group(['prefix'=>'public','namespace'=>'public','middleware'=>['setTheme:metronic-be']], function() {
Route::get('/', function()
{
return View::make('home');
})->name('public');
});
Route::group(['prefix'=>'demo','namespace'=>'sbadmin','middleware'=>['setTheme:sbadmin']], function() {
2017-08-05 23:53:57 +00:00
Route::get('/a', function () {})->name('demo');
Route::get('/b', function () {})->name('demo.login');
Route::get('/c', function () {})->name('demo.charts');
Route::get('/d', function () {})->name('demo.tables');
Route::get('/e', function () {})->name('demo.forms');
Route::get('/f', function () {})->name('demo.panels');
Route::get('/g', function () {})->name('demo.buttons');
Route::get('/h', function () {})->name('demo.typography');
Route::get('/i', function () {})->name('demo.icons');
Route::get('/j', function () {})->name('demo.grid');
Route::get('/k', function () {})->name('demo.blank');
Route::get('/l', function () {})->name('demo.documentation');
2016-10-13 04:56:01 +00:00
});