mirror of
https://github.com/github/rails.git
synced 2026-01-25 14:28:28 -05:00
Fixed snag in status reporting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -634,7 +634,7 @@ module ActionController #:nodoc:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user