天天看點

ROR彙集---Rending

摘自:http://guides.rubyonrails.org/layouts_and_rendering.html

1 Overview: How the Pieces Fit Together

ROR彙集---Rending
This guide covers the basic layout features of Action Controller and Action View. By referring to this guide, you will be able to:
  • Use the various rendering methods built in to Rails
  • Create layouts with multiple content sections
  • Use partials to DRY up your views
  • Use nested layouts (sub-templates)

繼續閱讀