我想在布局级别根据实际模板定义进行条件渲染content_for(:an__area),任何想法如何完成?
content_for(:an__area)
layout yield ruby-on-rails
layout ×1
ruby-on-rails ×1
yield ×1