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 + ```