diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-04-27 19:17:19 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-23 09:27:23 +0200 |
commit | 5847dd3572caf06c0e0d5e307241c3b6bc3f8611 (patch) | |
tree | 8905d4de388dd18239ea323f4650ff0070064eab /src/Wallabag/GroupBundle/Form | |
parent | 2585953e0dae631b65c59b0e31196d65bdde84df (diff) | |
download | wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.gz wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.zst wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.zip |
MOAR WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/GroupBundle/Form')
-rw-r--r-- | src/Wallabag/GroupBundle/Form/UserGroupType.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/GroupBundle/Form/UserGroupType.php b/src/Wallabag/GroupBundle/Form/UserGroupType.php index e8f814e4..326fa682 100644 --- a/src/Wallabag/GroupBundle/Form/UserGroupType.php +++ b/src/Wallabag/GroupBundle/Form/UserGroupType.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Wallabag\GroupBundle\Form\Type; | 3 | namespace Wallabag\GroupBundle\Form; |
4 | 4 | ||
5 | use Wallabag\GroupBundle\Entity\Group; | 5 | use Wallabag\GroupBundle\Entity\Group; |
6 | use Symfony\Component\Form\AbstractType; | 6 | use Symfony\Component\Form\AbstractType; |
@@ -23,7 +23,7 @@ class UserGroupType extends AbstractType | |||
23 | 'choices' => [ | 23 | 'choices' => [ |
24 | 'group.roles.readonly' => Group::ROLE_READ_ONLY, | 24 | 'group.roles.readonly' => Group::ROLE_READ_ONLY, |
25 | 'group.roles.write' => Group::ROLE_WRITE, | 25 | 'group.roles.write' => Group::ROLE_WRITE, |
26 | 'group.roles.manage_prez' => Group::ROLE_MANAGE_PREZ, | 26 | 'group.roles.manage_entries' => Group::ROLE_MANAGE_ENTRIES, |
27 | 'group.roles.manage_users' => Group::ROLE_MANAGE_USERS, | 27 | 'group.roles.manage_users' => Group::ROLE_MANAGE_USERS, |
28 | 'group.roles.admin' => Group::ROLE_ADMIN, | 28 | 'group.roles.admin' => Group::ROLE_ADMIN, |
29 | ], | 29 | ], |
@@ -40,7 +40,7 @@ class UserGroupType extends AbstractType | |||
40 | public function configureOptions(OptionsResolver $resolver) | 40 | public function configureOptions(OptionsResolver $resolver) |
41 | { | 41 | { |
42 | $resolver->setDefaults(array( | 42 | $resolver->setDefaults(array( |
43 | 'data_class' => 'Strut\StrutBundle\Entity\UserGroup', | 43 | 'data_class' => 'Wallabag\GroupBundle\Entity\UserGroup', |
44 | )); | 44 | )); |
45 | } | 45 | } |
46 | } | 46 | } |