【发布时间】:2013-03-19 01:19:24
【问题描述】:
我现在正在查看一些看似标准的 Haml 代码,但只是注意到它以“!=”开头,并且 5 分钟的谷歌搜索未能给我答案:
#What does the '!=' mean?
!= cache_content_if_not_prefetched(params) do
-if product_live?
=render :partial => 'products/product_tile'
-else
=render :partial => 'products/unavailable_product_tile'
【问题讨论】:
标签: ruby-on-rails haml