aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handlers/compilable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view/template_handlers/compilable.rb')
-rw-r--r--actionpack/lib/action_view/template_handlers/compilable.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/template_handlers/compilable.rb b/actionpack/lib/action_view/template_handlers/compilable.rb
index 110c90af0a..35c74f6c51 100644
--- a/actionpack/lib/action_view/template_handlers/compilable.rb
+++ b/actionpack/lib/action_view/template_handlers/compilable.rb
@@ -24,6 +24,10 @@ module ActionView
true
end
end
+
+ def render(template)
+ @view.send :execute, template
+ end
# Compile and evaluate the template's code
def compile_template(template)