public function registerAction() { $this->request->restrictAccess('IMAGES', 'MANAGE'); $this->response->page('ui/images/register.js'); }