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

Fix RestFul API #448

Merged
merged 1 commit into from Jul 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Resources/config/api_controllers.xml
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
@@ -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>