diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-04-29 17:32:55 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:31:02 -0700 |
commit | b98e496c039b7bde4a2de9c02809e0b4ee0679ae (patch) | |
tree | 56298784a3f08d2476cc339b3465ebea707911de /actionpack/lib/action_view/template | |
parent | 49834e088bf8d02a4f75793a42868f2aea8749a4 (diff) | |
download | rails-b98e496c039b7bde4a2de9c02809e0b4ee0679ae.tar.gz rails-b98e496c039b7bde4a2de9c02809e0b4ee0679ae.tar.bz2 rails-b98e496c039b7bde4a2de9c02809e0b4ee0679ae.zip |
Support implicit and explicit content types
Diffstat (limited to 'actionpack/lib/action_view/template')
-rw-r--r-- | actionpack/lib/action_view/template/text.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/template/text.rb b/actionpack/lib/action_view/template/text.rb index f81174d707..446c735ba3 100644 --- a/actionpack/lib/action_view/template/text.rb +++ b/actionpack/lib/action_view/template/text.rb @@ -3,7 +3,6 @@ module ActionView #:nodoc: def render(*) self end - def exempt_from_layout?() false end - + def mime_type() Mime::HTML end end end |