mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Removed commenting
This restore() is still not working, though not sure why. Seems like it should be pretty straghtforward, and yet… Additonally, manually setting the deleted)at date to null or blank isn’t working either. I’m sure I’m just missing something obvious.
This commit is contained in:
parent
f7784b6543
commit
0782222c6b
|
@ -257,10 +257,9 @@ class ManufacturersController extends Controller
|
|||
|
||||
if ($manufacturer) {
|
||||
// I don't know why $manufacturer->restore(); didn't work here...
|
||||
// $manufacturer->restore();
|
||||
$manufacturer->restore();
|
||||
return redirect()->route('manufacturers.index')->with('success', trans('admin/manufacturers/message.restore.success'));
|
||||
}
|
||||
\Log::debug('No joy');
|
||||
return redirect()->back()->with('error', trans('admin/manufacturers/message.does_not_exist'));
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue