aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/generators.md
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-08-19 21:42:51 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2014-08-19 21:42:51 +0530
commit0cb3bdb66e87981c1094edecfce9182ae8aeb240 (patch)
tree346caa0162ec4b86e906d0b7d4d66d4760eddc1e /guides/source/generators.md
parent29a947808bc323e01164f9566df5e388ad216897 (diff)
downloadrails-0cb3bdb66e87981c1094edecfce9182ae8aeb240.tar.gz
rails-0cb3bdb66e87981c1094edecfce9182ae8aeb240.tar.bz2
rails-0cb3bdb66e87981c1094edecfce9182ae8aeb240.zip
minor copy editing [ci skip]
Diffstat (limited to 'guides/source/generators.md')
-rw-r--r--guides/source/generators.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/guides/source/generators.md b/guides/source/generators.md
index 2349908979..2b39ea66d8 100644
--- a/guides/source/generators.md
+++ b/guides/source/generators.md
@@ -341,9 +341,7 @@ end
If you generate another resource, you can see that we get exactly the same result! This is useful if you want to customize your scaffold templates and/or layout by just creating `edit.html.erb`, `index.html.erb` and so on inside `lib/templates/erb/scaffold`.
-Many scaffold templates in Rails are written in ERB tags which needs to be escaped, so that the output is a valid ERB code, that can be used correctly in Rails app.
-
-The following code in one of the generator file,
+Many scaffold templates in Rails are written in ERB tags which need to be escaped, so that the output is valid ERB code. For example,
```ruby
<%%= stylesheet_include_tag :application %>