Skip to content

Commit 942c158

Browse files
committed
Changed routing and removed POST requirement
1 parent 05685ab commit 942c158

File tree

1 file changed

+2
-6
lines changed
  • Symfony/src/Codebender/ApiBundle/Resources/config

1 file changed

+2
-6
lines changed

Symfony/src/Codebender/ApiBundle/Resources/config/routing.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ CodebenderApiBundle_status_check:
55
CodebenderApiBundle_cb_website_compile:
66
pattern: /{auth_key}/{version}/website/compile
77
defaults: { _controller: CodebenderApiBundle:Default:compileWebsite }
8-
requirements:
9-
_method: POST
108

119
CodebenderApiBundle_compile:
12-
pattern: /{auth_key}/{version}/compile
13-
defaults: { _controller: CodebenderApiBundle:Default:compile }
14-
requirements:
15-
_method: POST
10+
pattern: /{auth_key}/{version}
11+
defaults: { _controller: CodebenderApiBundle:Default:compile }

0 commit comments

Comments
 (0)