2011-09-24 6 views

답변

1

content_for을 사용하여 설정하려면 content_for을 사용하면됩니다.

<% content_for :title, "My Title" %> 

Some time later ... 
<title><%= content_for :title %></title> 
... 
<h1><%= content_for :title %></h1> 
관련 문제