Resolve "UAT Bug fixing" #875

Merged
jankstudio merged 2 commits from 77-uat-bug-fixing into master 2018-04-06 09:51:03 +00:00
Showing only changes of commit 3642b2225e - Show all commits

View file

@ -128,9 +128,9 @@ class CustomerController extends BaseController
];
// add crud urls
if ($this->isGranted('user.update'))
if ($this->isGranted('customer.update'))
$row['meta']['update_url'] = $this->generateUrl('customer_update', ['id' => $row['id']]);
if ($this->isGranted('user.delete'))
if ($this->isGranted('customer.delete'))
$row['meta']['delete_url'] = $this->generateUrl('customer_delete', ['id' => $row['id']]);
$rows[] = $row;