diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-06-25 05:57:24 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-06-25 05:57:24 -0500 |
commit | ad772402c46a79c2d38979cef754b26dbd868196 (patch) | |
tree | ef63065744f3a7bd5a079121c613a0f0acf90c04 /actionpack/lib/action_controller/base.rb | |
parent | 6f5327013d6353c50cadfe2160d1b526ad687633 (diff) | |
download | rails-ad772402c46a79c2d38979cef754b26dbd868196.tar.gz rails-ad772402c46a79c2d38979cef754b26dbd868196.tar.bz2 rails-ad772402c46a79c2d38979cef754b26dbd868196.zip |
Made ActionView::Base#render_file private
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index bf34edcd85..c50c55dd05 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1095,7 +1095,7 @@ module ActionController #:nodoc: def render_for_file(template_path, status = nil, use_full_path = false, locals = {}) #:nodoc: add_variables_to_assigns logger.info("Rendering #{template_path}" + (status ? " (#{status})" : '')) if logger - render_for_text(@template.render_file(template_path, use_full_path, locals), status) + render_for_text(@template.render(:file => template_path, :use_full_path => use_full_path, :locals => locals), status) end def render_for_text(text = nil, status = nil, append_response = false) #:nodoc: |