changed role names to XXXX instead of ROLE_XXXX

This commit is contained in:
franck
2013-07-18 13:01:33 +02:00
parent 2c52df1034
commit 9a1ee565de
7 changed files with 8 additions and 8 deletions

View File

@@ -63,6 +63,6 @@ class Admin extends BaseAdmin implements UserInterface
* {@inheritDoc}
*/
public function getRoles() {
return array(new Role('ROLE_ADMIN'));
return array(new Role('ADMIN'));
}
}