Tweak formatting when sharing errors
This commit is contained in:
parent
b4d70359db
commit
e9fd25773a
|
@ -45,7 +45,9 @@ class AppServiceProvider extends ServiceProvider
|
|||
'flash' => [
|
||||
'success' => Session::get('success'),
|
||||
],
|
||||
'errors' => Session::get('errors') ? Session::get('errors')->getBag('default')->getMessages() : (object) [],
|
||||
'errors' => Session::get('errors')
|
||||
? Session::get('errors')->getBag('default')->getMessages()
|
||||
: (object) [],
|
||||
];
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue