Skip to content

Commit ed04695

Browse files
committed
Merge pull request #208 from Minishlink/fix-http-method
[insight] Fix "A route should always have a valid HTTP method"
2 parents 643e9ab + 4fa9b99 commit ed04695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/routing/routing.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
55

6-
<route id="fos_js_routing_js" path="/js/routing.{_format}">
6+
<route id="fos_js_routing_js" path="/js/routing.{_format}" methods="GET">
77
<default key="_controller">fos_js_routing.controller:indexAction</default>
88
<default key="_format">js</default>
99
<requirement key="_format">js|json</requirement>

0 commit comments

Comments
 (0)