Skip to content

Commit

Permalink
Switched to new Ibexa namespace for new classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Nov 22, 2023
1 parent caa2eb7 commit ee4fe51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Resources/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,12 @@ ezpublish_rest_setObjectStatesForContent:
ibexa.rest.languages.list:
path: /languages
methods: [GET]
controller: Ibexa\Bundle\Rest\Server\Controller\Language::listLanguages
controller: Ibexa\Rest\Server\Controller\Language::listLanguages

ibexa.rest.languages.view:
path: /languages/{languageCode}
methods: [GET]
controller: Ibexa\Bundle\Rest\Server\Controller\Language::loadLanguage
controller: Ibexa\Rest\Server\Controller\Language::loadLanguage

# Locations

Expand Down
2 changes: 1 addition & 1 deletion src/bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ services:
- "@ezpublish.api.service.location"
tags: [controller.service_arguments]

Ibexa\Bundle\Rest\Server\Controller\Language:
Ibexa\Rest\Server\Controller\Language:
autowire: true
tags: [ controller.service_arguments ]

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Server/Controller/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
declare(strict_types=1);

namespace Ibexa\Bundle\Rest\Server\Controller;
namespace Ibexa\Rest\Server\Controller;

use eZ\Publish\API\Repository\LanguageService;
use eZ\Publish\API\Repository\Values\Content\Language as ApiLanguage;
Expand Down

0 comments on commit ee4fe51

Please sign in to comment.