forked from wallabag/wallabag
Move User form types to Core
This commit is contained in:
@ -17,7 +17,7 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Wallabag\ApiBundle\Entity\Client;
|
use Wallabag\ApiBundle\Entity\Client;
|
||||||
use Wallabag\CoreBundle\Entity\User;
|
use Wallabag\CoreBundle\Entity\User;
|
||||||
use Wallabag\UserBundle\Form\NewUserType;
|
use Wallabag\CoreBundle\Form\Type\NewUserType;
|
||||||
|
|
||||||
class UserRestController extends WallabagRestController
|
class UserRestController extends WallabagRestController
|
||||||
{
|
{
|
||||||
|
|||||||
@ -18,10 +18,10 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\CoreBundle\Entity\User;
|
use Wallabag\CoreBundle\Entity\User;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\NewUserType;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\SearchUserType;
|
||||||
|
use Wallabag\CoreBundle\Form\Type\UserType;
|
||||||
use Wallabag\CoreBundle\Repository\UserRepository;
|
use Wallabag\CoreBundle\Repository\UserRepository;
|
||||||
use Wallabag\UserBundle\Form\NewUserType;
|
|
||||||
use Wallabag\UserBundle\Form\SearchUserType;
|
|
||||||
use Wallabag\UserBundle\Form\UserType;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User controller.
|
* User controller.
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\UserBundle\Form;
|
namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\EmailType;
|
use Symfony\Component\Form\Extension\Core\Type\EmailType;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\UserBundle\Form;
|
namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\TextType;
|
use Symfony\Component\Form\Extension\Core\Type\TextType;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\UserBundle\Form;
|
namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
||||||
Reference in New Issue
Block a user