]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/Configuration.php
Set rapsysuser.default.{admin,group} keys
[userbundle] / DependencyInjection / Configuration.php
index 12088ae82bac8f9b33d67152b518cdde4e9cdba6..4a5d2c8ba311b8da574db6b199f79adf4574de03 100644 (file)
@@ -39,7 +39,7 @@ class Configuration implements ConfigurationInterface {
                                'user' => 'Rapsys\\UserBundle\\Entity\\User'
                        ],
                        'default' => [
-                               'admin' => 'ROLE_ADMIN',
+                               'admin' => 'Admin',
                                'civility' => 'Mister',
                                'languages' => [
                                        'en_gb' => 'English'
@@ -98,7 +98,7 @@ class Configuration implements ConfigurationInterface {
                                'route' => [ 'home' => 'home_url' ],
                                'view' => [
                                        'name' => '@RapsysUser/index.html.twig',
-                                       'context' => [ 'title' => 'Index' ]
+                                       'context' => [ 'title' => 'Users' ]
                                ]
                        ],
                        'login' => [