diff options
| author | Pratik Naik <pratiknaik@gmail.com> | 2009-08-31 22:11:50 +0100 | 
|---|---|---|
| committer | Pratik Naik <pratiknaik@gmail.com> | 2009-08-31 22:11:50 +0100 | 
| commit | bae00bb1cc392e1cf408369809b9cf85468bef42 (patch) | |
| tree | 17103af6eeb5de96c72beda1debce28950cc7fea /actionpack/lib/action_view/template/handler.rb | |
| parent | 93c76b2fb08668bc4b8364cc8051476e6d1d15ba (diff) | |
| parent | ffd2cf167040b60c26d97c01598560c87bd4b2d3 (diff) | |
| download | rails-bae00bb1cc392e1cf408369809b9cf85468bef42.tar.gz rails-bae00bb1cc392e1cf408369809b9cf85468bef42.tar.bz2 rails-bae00bb1cc392e1cf408369809b9cf85468bef42.zip  | |
Merge commit 'mainstream/master'
Diffstat (limited to 'actionpack/lib/action_view/template/handler.rb')
| -rw-r--r-- | actionpack/lib/action_view/template/handler.rb | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/template/handler.rb b/actionpack/lib/action_view/template/handler.rb index 3071c78174..4bf58b9fa8 100644 --- a/actionpack/lib/action_view/template/handler.rb +++ b/actionpack/lib/action_view/template/handler.rb @@ -26,11 +26,7 @@ module ActionView      self.default_format = Mime::HTML      def self.call(template) -      "#{name}.new(self).render(template, local_assigns)" -    end - -    def initialize(view = nil) -      @view = view +      raise "Need to implement #{self.class.name}#call(template)"      end      def render(template, local_assigns)  | 
