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