From e69390dffe29ccc798754bc5d251324b95b83c4d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 1 Mar 2007 23:27:04 +0000 Subject: Options are more often than not meaningless babble, just go nondescript instead git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/layout.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/layout.rb b/actionpack/lib/action_controller/layout.rb index d5d38e2a9a..115fd7ac18 100644 --- a/actionpack/lib/action_controller/layout.rb +++ b/actionpack/lib/action_controller/layout.rb @@ -240,7 +240,7 @@ module ActionController #:nodoc: assert_existence_of_template_file(layout) options = options.merge :layout => false if template_with_options - logger.info("Rendering #{options} within #{layout}") if logger + logger.info("Rendering template within #{layout}") if logger if template_with_options content_for_layout = render_with_no_layout(options, &block) @@ -259,8 +259,8 @@ module ActionController #:nodoc: end end + private - def apply_layout?(template_with_options, options) return false if options == :update template_with_options ? candidate_for_layout?(options) : !template_exempt_from_layout? -- cgit v1.2.3