src/Http/Datatables/Roles.php
public function ajax()
    {
        $roleId        = user()->roles->first()->id;
        $acl           = app('antares.acl')->make('antares/acl');
        $canEditRole   = $acl->can('edit-role');
        $canDeleteRole = $acl->can('delete-role');

        return $this->prepare()
                        ->addColumn('action', $this->getActionsColumn($roleId, $canEditRole, $canDeleteRole))
                        ->editColumn('description', function ($model) {
                            return (strlen($model->description) > 0) ? value($model->description) : '---';
                        })
                        ->make(true);
    }
public function ajax()
    {
        $roleId        = user()->roles->first()->id;
        $acl           = app('antares.acl')->make('antares/acl');
        $canEditRole   = $acl->can('edit-role');
        $canDeleteRole = $acl->can('delete-role');

        return $this->prepare()
                        ->addColumn('action', $this->getActionsColumn($roleId, $canEditRole, $canDeleteRole))
                        ->editColumn('description', function ($model) {
                            return (strlen($model->description) > 0) ? value($model->description) : '---';
                        })
                        ->make(true);
    }
{@inheritdoc}