aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template
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:13:02 -0200
commit19433ce8701d9ff2b311d0a2ec98be366ce461ea (patch)
treea2acdc41ab925c64d98b7944b3ff2d3928bb2412 /actionpack/lib/action_view/template
parent35626feb61e260ec704ed407768da4c6a2f27a47 (diff)
downloadrails-19433ce8701d9ff2b311d0a2ec98be366ce461ea.tar.gz
rails-19433ce8701d9ff2b311d0a2ec98be366ce461ea.tar.bz2
rails-19433ce8701d9ff2b311d0a2ec98be366ce461ea.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')
-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 25f26dd609..ea495ea9ca 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