Commit e9fd2577 by Jonathan Reinink

Tweak formatting when sharing errors

1 parent b4d70359
Showing with 3 additions and 1 deletions
...@@ -45,7 +45,9 @@ class AppServiceProvider extends ServiceProvider ...@@ -45,7 +45,9 @@ class AppServiceProvider extends ServiceProvider
'flash' => [ 'flash' => [
'success' => Session::get('success'), '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) [],
]; ];
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!