From ce1014f690900177323f73ea242e8e30bfd09716 Mon Sep 17 00:00:00 2001 From: Alexander Kozhevnikov Date: Mon, 2 Dec 2013 13:24:52 +0300 Subject: [PATCH] Removed extra parenthesis in code example --- docs/guide/controller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/controller.md b/docs/guide/controller.md index 97ffe49..584c738 100644 --- a/docs/guide/controller.md +++ b/docs/guide/controller.md @@ -125,7 +125,7 @@ class BlogController extends Controller throw new NotFoundHttpException; } - if (\Yii::$app->request->isPost)) { + if (\Yii::$app->request->isPost) { $post->load($_POST); if ($post->save()) { $this->redirect(['view', 'id' => $post->id]);