Permalink
Browse files

Fixed snag in status reporting

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5b8b917 commit d440cf6483465117cae4002583ea959cd8ee99b7 @dhh dhh committed Jul 26, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
@@ -634,7 +634,7 @@ def render_action(action_name, status = nil, with_layout = true)
def render_file(template_path, status = nil, use_full_path = false)
add_variables_to_assigns
assert_existance_of_template_file(template_path) if use_full_path
- logger.info("Rendering #{template_path}" + status ? "(#{status})" : '') if logger
+ logger.info("Rendering #{template_path}" + (status ? "(#{status})" : '')) if logger
render_text(@template.render_file(template_path, use_full_path), status)
end

0 comments on commit d440cf6

Please sign in to comment.