aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller')
-rwxr-xr-xactionpack/lib/action_controller/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 7751d74069..433fd9f801 100755
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -757,9 +757,9 @@ module ActionController #:nodoc:
def render_action(action_name, status = nil, with_layout = true) #:nodoc:
template = default_template_name(action_name.to_s)
if with_layout && !template_exempt_from_layout?(template)
- render_with_layout(template, status)
+ render_with_layout(:file => template, :status => status, :use_full_path => true, :layout => true)
else
- render_without_layout(template, status)
+ render_without_layout(:file => template, :status => status, :use_full_path => true)
end
end