documents <%== in the AS guide
This commit is contained in:
parent
7c51d1fcf9
commit
15fd29b3ea
|
@ -1189,6 +1189,12 @@ To insert something verbatim use the +raw+ helper rather than calling +html_safe
|
|||
<%= raw @cms.current_template %> <%# inserts @cms.current_template as is %>
|
||||
</erb>
|
||||
|
||||
or, equivalently, use <tt><%==</tt>:
|
||||
|
||||
<erb>
|
||||
<%== @cms.current_template %> <%# inserts @cms.current_template as is %>
|
||||
</erb>
|
||||
|
||||
The +raw+ helper calls +html_safe+ for you:
|
||||
|
||||
<ruby>
|
||||
|
|
Loading…
Reference in New Issue