Permalink
Browse files

enable prefer_extension by default again

  • Loading branch information...
1 parent 9589e20 commit b261b54bd77859ad77df814616ac0100a6cd0bd6 @lsmith77 lsmith77 committed Sep 9, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 DependencyInjection/Configuration.php
  2. +1 −1 README.md
@@ -122,7 +122,7 @@ private function addFormatListenerSection(ArrayNodeDefinition $rootNode)
->defaultValue(array('html', '*/*'))
->prototype('scalar')->end()
->end()
- ->booleanNode('prefer_extension')->defaultFalse()->end()
+ ->booleanNode('prefer_extension')->defaultTrue()->end()
->scalarNode('fallback_format')->defaultValue('html')->end()
->end()
->end()
View
@@ -751,7 +751,7 @@ fos_rest:
format_listener:
default_priorities: [html, '*/*']
fallback_format: html
- prefer_extension: false
+ prefer_extension: true
service:
router: router
templating: templating

0 comments on commit b261b54

Please sign in to comment.