提交 0cb3bdb6 编写于 作者: V Vijay Dev

minor copy editing [ci skip]

上级 29a94780
......@@ -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 %>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册