Esempio n. 1
0
 public function clear(Request $request)
 {
     $message = Logs::clear($request->get('type')) ? ['success', trans('whole::http/controllers.logs_flash_1')] : ['error', trans('whole::http/controllers.logs_flash_2')];
     Flash::$message[0]($message[1]);
     return redirect()->back();
 }
Esempio n. 2
0
 public function clear(Request $request)
 {
     $message = Logs::clear($request->get('type')) ? ['success', 'Başarıyla Temizlendi'] : ['error', 'Bir Hata Meydana Geldi ve Temizlenemedi'];
     Flash::$message[0]($message[1]);
     return redirect()->back();
 }