Skip to content

Commit

Permalink
Merge pull request #208 from Minishlink/fix-http-method
Browse files Browse the repository at this point in the history
[insight] Fix "A route should always have a valid HTTP method"
  • Loading branch information
willdurand committed Feb 4, 2016
2 parents 643e9ab + 4fa9b99 commit ed04695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/config/routing/routing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">

<route id="fos_js_routing_js" path="/js/routing.{_format}">
<route id="fos_js_routing_js" path="/js/routing.{_format}" methods="GET">
<default key="_controller">fos_js_routing.controller:indexAction</default>
<default key="_format">js</default>
<requirement key="_format">js|json</requirement>
Expand Down

0 comments on commit ed04695

Please # to comment.