Skip to content

Commit

Permalink
Update structure-views.md
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
tebazil committed Sep 17, 2014
1 parent 82b2f79 commit 00ce3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/structure-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 00ce3a3

Please sign in to comment.