aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/handler.rb
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-08-11 23:43:15 -0700
committerYehuda Katz <wycats@gmail.com>2009-08-15 12:32:01 -0700
commit9f5cd0156ab907d8097fc9c588823a9b09038b93 (patch)
treea240d8f10d15099a3b040a94b66f13d0f570e0ef /actionpack/lib/action_view/template/handler.rb
parent27adcd1c1a5cc566cfa8c5f8268b65ef01a7e865 (diff)
downloadrails-9f5cd0156ab907d8097fc9c588823a9b09038b93.tar.gz
rails-9f5cd0156ab907d8097fc9c588823a9b09038b93.tar.bz2
rails-9f5cd0156ab907d8097fc9c588823a9b09038b93.zip
More cleanup of ActionView and reduction in need for blocks in some cases:
* only one of partial_name or :as will be available as a local * `object` is removed * Simplify _layout_for in most cases. * Remove <% render :partial do |args| %> * <% render :partial do %> still works fine
Diffstat (limited to 'actionpack/lib/action_view/template/handler.rb')
-rw-r--r--actionpack/lib/action_view/template/handler.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/template/handler.rb b/actionpack/lib/action_view/template/handler.rb
index 7311e5e12f..4bf58b9fa8 100644
--- a/actionpack/lib/action_view/template/handler.rb
+++ b/actionpack/lib/action_view/template/handler.rb
@@ -29,10 +29,6 @@ module ActionView
raise "Need to implement #{self.class.name}#call(template)"
end
- def initialize(view = nil)
- @view = view
- end
-
def render(template, local_assigns)
raise "Need to implement #{self.class.name}#render(template, local_assigns)"
end