Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Fix RestFul API
Browse files Browse the repository at this point in the history
  • Loading branch information
wbloszyk authored and jordisala1991 committed Jul 12, 2020
1 parent f732ac6 commit 9333b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Resources/config/api_controllers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
<argument type="service" id="sonata.notification.manager.message"/>
<argument type="service" id="form.factory"/>
</service>
<service id="Sonata\NotificationBundle\Controller\Api\MessageController" alias="sonata.notification.controller.api.message" public="true"/>
</services>
</container>
2 changes: 1 addition & 1 deletion src/Resources/config/routing/api.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<routes xmlns="http://friendsofsymfony.github.com/schema/rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://friendsofsymfony.github.com/schema/rest https://raw.github.com/FriendsOfSymfony/FOSRestBundle/master/Resources/config/schema/routing/rest_routing-1.0.xsd">
<import type="rest" resource="sonata.notification.controller.api.message" name-prefix="sonata_api_notification_message_"/>
<import type="rest" resource="Sonata\NotificationBundle\Controller\Api\MessageController" name-prefix="sonata_api_notification_message_"/>
</routes>

0 comments on commit 9333b30

Please sign in to comment.