Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8378

Show
Ignore:
Timestamp:
12/13/07 03:33:06 (1 year ago)
Author:
marcel
Message:

Explain how the layout macro behaves when passed a path that contains a directory. Closes #10492 [loincloth]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/layout.rb

    r8317 r8378  
    125125    #     layout "weblog_standard" 
    126126    # 
    127     # If no directory is specified for the template name, the template will by default by looked for in +app/views/layouts/+. 
     127    # If no directory is specified for the template name, the template will by default be looked for in +app/views/layouts/+.  
     128    # Otherwise, it will be looked up relative to the template root. 
    128129    # 
    129130    # == Conditional layouts