mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
ALPHA 3.0.6b
This commit is contained in:
@@ -15,9 +15,15 @@ use \App\Notifications\sms;
|
|||||||
Auth::routes();
|
Auth::routes();
|
||||||
|
|
||||||
/* Index Route */
|
/* Index Route */
|
||||||
Route::get('/', function () {
|
if (env('APP_DEBUG')) {
|
||||||
return view('default');
|
Route::get('/', function () {
|
||||||
});
|
return view('default');
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
Route::get('/', function () {
|
||||||
|
return view('public');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
Route::middleware(['auth','admin'])->group(function () {
|
Route::middleware(['auth','admin'])->group(function () {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user