Add support for nickname (#1359)
This commit is contained in:
@@ -60,7 +60,19 @@ class SettingsController extends Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
// names order
|
||||
$namesOrder = [
|
||||
'firstname_lastname',
|
||||
'lastname_firstname',
|
||||
'firstname_lastname_nickname',
|
||||
'firstname_nickname_lastname',
|
||||
'lastname_firstname_nickname',
|
||||
'lastname_nickname_firstname',
|
||||
'nickname',
|
||||
];
|
||||
|
||||
return view('settings.index')
|
||||
->withNamesOrder($namesOrder)
|
||||
->withLocales(\App\Helpers\LocaleHelper::getLocaleList())
|
||||
->withHours(\App\Helpers\DateHelper::getListOfHours());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user