source: app/Helpers/Alert.php@ e954f3e

develop
Last change on this file since e954f3e was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago

added departments, edited users and added user settings

  • Property mode set to 100644
File size: 250 bytes
RevLine 
[194a359]1<?php
2
3namespace App\Helpers;
4
5class Alert
6{
7 public static function flash($message, $type = "success")
8 {
9 return request()->session()->flash("alert", [
10 "message" => $message,
11 "type" => $type
12 ]);
13 }
14}
Note: See TracBrowser for help on using the repository browser.