aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/examples
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-06 19:45:40 -0300
committerYehuda Katz <wycats@gmail.com>2009-08-06 19:45:40 -0300
commitaf375a5eb3aba149590be1636480e1c3976c124f (patch)
tree250d682085fe30291a47ee38cf19e6ddca7b68f3 /actionpack/examples
parentf0945409d935cdd3cb783a728d68414e7ca02dfc (diff)
downloadrails-af375a5eb3aba149590be1636480e1c3976c124f.tar.gz
rails-af375a5eb3aba149590be1636480e1c3976c124f.tar.bz2
rails-af375a5eb3aba149590be1636480e1c3976c124f.zip
Replace _action_view with view_context to reflect that it is public and that it does not need to be an ActionView instance
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 e0f2d2bde8..995e40adb9 100644
--- a/actionpack/examples/very_simple.rb
+++ b/actionpack/examples/very_simple.rb
@@ -13,7 +13,7 @@ class Kaigi < ActionController::Http
before_filter :set_name
append_view_path "views"
- def _action_view
+ def view_context
self
end