aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/handlers
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-02-21 23:55:56 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-02-22 11:12:03 -0200
commit157ea763060e90f3aba0ff5af15d5dcb0f0c9c35 (patch)
tree5d2a3cb89c5f29f74419c42cdd7482891be56ea1 /actionpack/lib/action_view/template/handlers
parenta95f730ea45f01744702849fc084b4d28c857964 (diff)
downloadrails-157ea763060e90f3aba0ff5af15d5dcb0f0c9c35.tar.gz
rails-157ea763060e90f3aba0ff5af15d5dcb0f0c9c35.tar.bz2
rails-157ea763060e90f3aba0ff5af15d5dcb0f0c9c35.zip
format lookup for partials is derived from the format in which the template is being rendered
Closes #5025 part 2
Diffstat (limited to 'actionpack/lib/action_view/template/handlers')
-rw-r--r--actionpack/lib/action_view/template/handlers/erb.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/template/handlers/erb.rb b/actionpack/lib/action_view/template/handlers/erb.rb
index 323df67c97..19b9112afd 100644
--- a/actionpack/lib/action_view/template/handlers/erb.rb
+++ b/actionpack/lib/action_view/template/handlers/erb.rb
@@ -44,10 +44,6 @@ module ActionView
class_attribute :erb_trim_mode
self.erb_trim_mode = '-'
- # Default format used by ERB.
- class_attribute :default_format
- self.default_format = Mime::HTML
-
# Default implementation used.
class_attribute :erb_implementation
self.erb_implementation = Erubis