Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explain how the layout macro behaves when passed a path that contains…

… a directory. Closes #10492 [loincloth]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit b4dd1e6879affc33e4595509fa49f3531759e54d 1 parent d98728e
Marcel Molina authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  actionpack/lib/action_controller/layout.rb
View
3  actionpack/lib/action_controller/layout.rb
@@ -124,7 +124,8 @@ class << self
# class WeblogController < ActionController::Base
# layout "weblog_standard"
#
- # If no directory is specified for the template name, the template will by default by looked for in +app/views/layouts/+.
+ # If no directory is specified for the template name, the template will by default be looked for in +app/views/layouts/+.
+ # Otherwise, it will be looked up relative to the template root.
#
# == Conditional layouts
#
Please sign in to comment.
Something went wrong with that request. Please try again.