- edit destroy methods
This commit is contained in:
		| @@ -117,6 +117,6 @@ class CVController extends Controller | |||||||
|  |  | ||||||
|         return redirect() |         return redirect() | ||||||
|             ->route('admin.cv.index') |             ->route('admin.cv.index') | ||||||
|             ->with('info', 'Usunięto CV dla firmy "'. $name .'"'); |             ->with('info', 'Usunięto CV dla firmy '. $name .'.'); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -40,6 +40,6 @@ class MessageController extends Controller | |||||||
|  |  | ||||||
|         return redirect() |         return redirect() | ||||||
|             ->route('admin.message.index') |             ->route('admin.message.index') | ||||||
|             ->with(['success' => 'Wiadomość od '. $sender .' została usunięta']); |             ->with('info', 'Wiadomość od '. $sender .' została usunięta.'); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user