aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-06 19:43:28 -0300
committerYehuda Katz <wycats@gmail.com>2009-08-06 19:43:28 -0300
commitf0945409d935cdd3cb783a728d68414e7ca02dfc (patch)
treea2c10d41efa13ba7fdcf1313ceedd18352b90ab1 /actionpack/examples
parent7f717abb0ed280ba1a1f8abfeeff84bf24cad3e7 (diff)
downloadrails-f0945409d935cdd3cb783a728d68414e7ca02dfc.tar.gz
rails-f0945409d935cdd3cb783a728d68414e7ca02dfc.tar.bz2
rails-f0945409d935cdd3cb783a728d68414e7ca02dfc.zip
replace _render_*_from_controller with render_* as they are intended to be public
Diffstat (limited to 'actionpack/examples')
-rw-r--r--actionpack/examples/very_simple.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/examples/very_simple.rb b/actionpack/examples/very_simple.rb
index 8d01cb39bd..e0f2d2bde8 100644
--- a/actionpack/examples/very_simple.rb
+++ b/actionpack/examples/very_simple.rb
@@ -23,7 +23,7 @@ class Kaigi < ActionController::Http
DEFAULT_LAYOUT = Object.new.tap {|l| def l.render(*) yield end }
- def _render_template_from_controller(template, layout = DEFAULT_LAYOUT, options = {}, partial = false)
+ def render_template(template, layout = DEFAULT_LAYOUT, options = {}, partial = false)
ret = template.render(self, {})
layout.render(self, {}) { ret }
end