Skip to content

Add flash data detection

Choose a tag to compare

@MGatner MGatner released this 16 Dec 16:22
· 37 commits to master since this release
ff6bf11

This release includes a new config option to check for common flash data keys (message, error, errors). This allows Alerts to intercept calls like return redirect()->back()->with('message', 'New widget created'); and display them as library alerts. This enabled by default but can be turned off via the config file, $getflash.