mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Fixed goofy translation
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
6a3ab526de
commit
e2d0136336
|
@ -813,7 +813,7 @@ class AssetsController extends Controller
|
|||
// Redirect them to the deleted page if there are more, otherwise the section index
|
||||
$deleted_assets = Asset::onlyTrashed()->count();
|
||||
if ($deleted_assets > 0) {
|
||||
return redirect()->back()->with('success', trans('admin/hardware/message.success.restored'));
|
||||
return redirect()->back()->with('success', trans('admin/hardware/message.restore.success'));
|
||||
}
|
||||
return redirect()->route('hardware.index')->with('success', trans('admin/hardware/message.restore.success'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue