root/plugins/access/controllers/actions_controller.php
| 222 | 237 | ||
|---|---|---|---|
28 | $this->data = $this->Action->read(null, $id); | 28 | $this->data = $this->Action->read(null, $id); |
29 | } | 29 | } |
30 | 30 | ||
31 | $this->set('scopes', array('create', 'edit', 'delete', 'view', 'select')); | 31 | $this->set('scopes', array( |
32 | 'create' => __('Create', true), | ||
33 | 'edit' => __('Edit', true), | ||
34 | 'delete' => __('Delete', true), | ||
35 | 'view' => __('View', true), | ||
36 | 'select' => __('Select', true) | ||
37 | ) | ||
38 | ); | ||
32 | } | 39 | } |
33 | 40 | ||
34 | 41 |
Download diff