From b4dd1e6879affc33e4595509fa49f3531759e54d Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Thu, 13 Dec 2007 03:33:06 +0000 Subject: 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 --- actionpack/lib/action_controller/layout.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/layout.rb b/actionpack/lib/action_controller/layout.rb index b960e64c1d..63a68c1080 100644 --- a/actionpack/lib/action_controller/layout.rb +++ b/actionpack/lib/action_controller/layout.rb @@ -124,7 +124,8 @@ module ActionController #:nodoc: # 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 # -- cgit v1.2.3