From d9fcfcb7d924294ef5fdb46aae0e768ca11ea57e Mon Sep 17 00:00:00 2001 From: Nobuo Kihara Date: Sat, 24 Jan 2015 09:34:03 +0900 Subject: [PATCH] docs/guide/start-hello.md - typo fix [ci skip] --- docs/guide/start-hello.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/start-hello.md b/docs/guide/start-hello.md index a994046..4cd9bc8 100644 --- a/docs/guide/start-hello.md +++ b/docs/guide/start-hello.md @@ -55,7 +55,7 @@ The name after the `action` prefix maps to the action's ID. When it comes to naming your actions, you should understand how Yii treats action IDs. Action IDs are always referenced in lower case. If an action ID requires multiple words, they will be concatenated by dashes (e.g., `create-comment`). Action method names are mapped to action IDs by removing any dashes from the IDs, -capitalizing the first letter in each word, and prefixing the resulting with `action`. For example, +capitalizing the first letter in each word, and prefixing the resulting string with `action`. For example, the action ID `create-comment` corresponds to the action method name `actionCreateComment`. The action method in our example takes a parameter `$message`, whose value defaults to `"Hello"` (in exactly @@ -74,7 +74,7 @@ Creating a View --------------- [Views](structure-views.md) are scripts you write to generate a response's content. -For the "Hello" task, you will create a `say` view that prints the `message` parameter received from the action method, and passed by the action to the view: +For the "Hello" task, you will create a `say` view that prints the `message` parameter received from the action method: ```php