mirror of https://github.com/rails/rails
Update docs for erb_trim_mode [ci-skip]
This commit is contained in:
parent
82e33e44bf
commit
7aab98a16e
|
@ -2014,7 +2014,7 @@ Accepts a logger conforming to the interface of Log4r or the default Ruby Logger
|
|||
|
||||
#### `config.action_view.erb_trim_mode`
|
||||
|
||||
Gives the trim mode to be used by ERB. It defaults to `'-'`, which turns on trimming of tail spaces and newline when using `<%= -%>` or `<%= =%>`. See the [Erubis documentation](http://www.kuwata-lab.com/erubis/users-guide.06.html#topics-trimspaces) for more information.
|
||||
Controls if certain ERB syntax should trim. It defaults to `'-'`, which turns on trimming of tail spaces and newline when using `<%= -%>` or `<%= =%>`. Setting this to anything else will turn off trimming support.
|
||||
|
||||
#### `config.action_view.frozen_string_literal`
|
||||
|
||||
|
|
Loading…
Reference in New Issue