Move redirect configs into phpvms config

This commit is contained in:
Nabeel Shahzad
2018-09-20 13:54:43 -05:00
parent 7707d8816e
commit 2e0cc10ded
6 changed files with 13 additions and 8 deletions

View File

@@ -17,10 +17,6 @@ return [
'locale' => env('APP_LOCALE', 'en'),
'fallback_locale' => 'en',
// Where to redirect after logging in/registration
'login_redirect' => '/dashboard',
'registration_redirect' => '/profile',
// This sends install and vaCentral specific information to help with
// optimizations and figuring out where slowdowns might be happening
'analytics' => true,

View File

@@ -15,6 +15,16 @@ return [
*/
'installed' => env('PHPVMS_INSTALLED', false),
/*
* Where to redirect after logging in
*/
'login_redirect' => '/dashboard',
/*
* Where to redirect after registration
*/
'registration_redirect' => '/profile',
/*
* The ISO "Currency Code" to use, the list is in config/money.php
*