<?php

$router->get('/', ['as' => 'dashboard.index', 'uses' => 'DashboardController@index']);

<?php

use Illuminate\Routing\Router;

$router->get('/', ['as' => 'dashboard.index', 'uses' => 'DashboardController@index']);

$router->group(['prefix' => '/dashboard'], function (Router $router) {
    $router->post('grid', ['as' => 'dashboard.grid.save', 'uses' => 'DashboardController@save']);
});

Add route to save widget
Add route to save widget
