Bug fixes

This commit is contained in:
Manish Verma
2018-08-15 17:58:20 +05:30
parent 1e9696df64
commit 234bf9cdc0
4 changed files with 8 additions and 4 deletions

View File

@@ -156,7 +156,7 @@ class CannedController extends Controller
/* Check whether function success or not */
$canned->delete();
/* redirect to Index page with Success Message */
return redirect()->route('canned.list')->with('success', Lang::get('lang.user_deleted_successfully'));
return redirect()->route('canned.list')->with('success', Lang::get('lang.canned_response_deleted'));
} catch (Exception $e) {
/* redirect to Index page with Fails Message */
return redirect()->route('canned.list')->with('fails', $e->getMessage());