Skip to content
Browse files

Use render on InlineTemplate

  • Loading branch information...
1 parent b6f89a8 commit 7d5c8505f528f195433693d5074a00f7635955b2 @josh josh committed Jul 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/base.rb
View
2 actionpack/lib/action_view/base.rb
@@ -305,7 +305,7 @@ def render_file(template_path, use_full_path = nil, local_assigns = {}) #:nodoc:
end
def render_inline(text, local_assigns = {}, type = nil)
- InlineTemplate.new(self, text, local_assigns, type).render_template
+ InlineTemplate.new(self, text, local_assigns, type).render
end
def wrap_content_for_layout(content)

0 comments on commit 7d5c850

Please sign in to comment.
Something went wrong with that request. Please try again.