fixed widget destroy function
This commit is contained in:
parent
624feb76c4
commit
abd55133f1
@ -133,7 +133,7 @@ class Widgets extends Controller
|
|||||||
*/
|
*/
|
||||||
public function destroy(Widget $widget)
|
public function destroy(Widget $widget)
|
||||||
{
|
{
|
||||||
$response = $this->ajaxDispatch(new DeleteWidget($item));
|
$response = $this->ajaxDispatch(new DeleteWidget($widget));
|
||||||
|
|
||||||
$response['redirect'] = route('dashboard');
|
$response['redirect'] = route('dashboard');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user