1.请建立一个path为'site'的布局模板
2.需要包含下列内容
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag :fckeditor %>
<%= javascript_tag "var RailsAuthToken = #{form_authenticity_token.inspect};" if protect_against_forgery? %>
<%= show_flash(flash) %>
<%= yield %>