From 35e7b38422bc43f28ada0e1c4bac33c08b76e04e Mon Sep 17 00:00:00 2001 From: Mark Kazemier Date: Sun, 10 Mar 2013 19:42:30 +0100 Subject: [PATCH] The name of the inflector service is now configurable --- DependencyInjection/Configuration.php | 1 + Resources/config/routing.xml | 2 +- Resources/config/util.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 47bea1f1a..2ec528a38 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -66,6 +66,7 @@ public function getConfigTreeBuilder() ->scalarNode('templating')->defaultValue('templating')->end() ->scalarNode('serializer')->defaultValue('jms_serializer.serializer')->end() ->scalarNode('view_handler')->defaultValue('fos_rest.view_handler.default')->end() + ->scalarNode('inflector')->defaultValue('fos_rest.inflector.doctrine')->end() ->end() ->end() ->arrayNode('serializer') diff --git a/Resources/config/routing.xml b/Resources/config/routing.xml index 108661ad6..ac5b7b9ec 100644 --- a/Resources/config/routing.xml +++ b/Resources/config/routing.xml @@ -48,7 +48,7 @@ - + diff --git a/Resources/config/util.xml b/Resources/config/util.xml index 8278d63dd..e0bdc1b7a 100644 --- a/Resources/config/util.xml +++ b/Resources/config/util.xml @@ -9,6 +9,6 @@ - +