From 1c3b5c2a61c9f3e23c3421978e0d3220a158c753 Mon Sep 17 00:00:00 2001 From: Anton Titov Date: Mon, 16 Sep 2019 21:44:03 +0300 Subject: [PATCH] Update rest.md --- docs/framework/rest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/rest.md b/docs/framework/rest.md index 6cecbc2..a826928 100644 --- a/docs/framework/rest.md +++ b/docs/framework/rest.md @@ -13,7 +13,7 @@ Symlex REST controllers use a naming scheme similar to FOSRestBundle's *implicit public function cgetAction(Request $request) {} // [GET] /users - public function coptionsAction(Request $request) + public function optionsAction(Request $request) {} // [OPTIONS] /users public function postAction(Request $request) @@ -122,4 +122,4 @@ to avoid deeply nested structures. User model and form factory are injected as d return $this->user->getValues(); } } - ``` \ No newline at end of file + ```