From 00ce3a3a8225e29deeb5147f9215718f7b27ccb2 Mon Sep 17 00:00:00 2001 From: Vasiliy Baukin Date: Wed, 17 Sep 2014 22:25:34 +0400 Subject: [PATCH] Update structure-views.md - We do not generate static pages in controllers, but merely output them. - We need to say that the data is needed to be plainly put into the view, as the reader might expect something more sophisticated to happen here. --- docs/guide/structure-views.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/structure-views.md b/docs/guide/structure-views.md index 1afc27aa7f..1b133339e3 100644 --- a/docs/guide/structure-views.md +++ b/docs/guide/structure-views.md @@ -658,7 +658,7 @@ For example, the following code injects the current date at the end of the page Static pages refer to those Web pages whose main content are mostly static without the need of accessing dynamic data pushed from controllers. -You can generate static pages using the code like the following in a controller: +You can output static pages by putting their code in the view, and then using the code like the following in a controller: ```php public function actionAbout()