@@ -52,7 +52,7 @@ |
||
52 | 52 | foreach ($pager->getResults() as $result) { |
53 | 53 | $results[] = array( |
54 | 54 | 'label' => $admin->toString($result), |
55 | - 'link' => $admin->generateObjectUrl('show', $result), // Sonata uses "edit", we prefer "show" |
|
55 | + 'link' => $admin->generateObjectUrl('show', $result), // Sonata uses "edit", we prefer "show" |
|
56 | 56 | 'id' => $admin->id($result), |
57 | 57 | ); |
58 | 58 | } |
@@ -67,10 +67,10 @@ |
||
67 | 67 | |
68 | 68 | if ($this->isGranted('DELETE')) { |
69 | 69 | $actions['delete'] = array( |
70 | - 'label' => 'action_delete', |
|
71 | - 'translation_domain' => 'SonataAdminBundle', |
|
72 | - 'ask_confirmation' => true, |
|
73 | - ); |
|
70 | + 'label' => 'action_delete', |
|
71 | + 'translation_domain' => 'SonataAdminBundle', |
|
72 | + 'ask_confirmation' => true, |
|
73 | + ); |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | return $this->handleBatchActions($actions); |