mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Move API stuff in ApiBundle
This commit is contained in:
parent
e3c34bfc06
commit
769e19dc4a
25 changed files with 571 additions and 297 deletions
|
@ -23,7 +23,8 @@ class AppKernel extends Kernel
|
|||
new Nelmio\CorsBundle\NelmioCorsBundle(),
|
||||
new Liip\ThemeBundle\LiipThemeBundle(),
|
||||
new Wallabag\CoreBundle\WallabagCoreBundle(),
|
||||
new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle()
|
||||
new Wallabag\ApiBundle\WallabagApiBundle(),
|
||||
new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(),
|
||||
);
|
||||
|
||||
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
wallabag_api:
|
||||
resource: "@WallabagApiBundle/Resources/config/routing.yml"
|
||||
prefix: /
|
||||
|
||||
app:
|
||||
resource: @WallabagCoreBundle/Controller/
|
||||
type: annotation
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Rest_Wallabag:
|
||||
type : rest
|
||||
resource: "@WallabagCoreBundle/Resources/config/routing_rest.yml"
|
||||
resource: "@WallabagApiBundle/Resources/config/routing_rest.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue