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:
snipe 2018-03-03 18:49:02 -08:00
parent f7784b6543
commit 0782222c6b

View file

@ -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'));
}