aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-04-08 06:56:44 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2012-04-08 06:56:44 -0700
commit0032da1b3eefbcb64d39b82e967fa395947278fd (patch)
tree144f0768c59f7956f5f0ac50bddc1fd7616865af /actionpack/lib/action_view/base.rb
parentd2726a950015d70c5b43ff4c902dfb7651c2dfc0 (diff)
parentf3fb416b89dab8d7b565b174bdc1116a519ab18d (diff)
downloadrails-0032da1b3eefbcb64d39b82e967fa395947278fd.tar.gz
rails-0032da1b3eefbcb64d39b82e967fa395947278fd.tar.bz2
rails-0032da1b3eefbcb64d39b82e967fa395947278fd.zip
Merge pull request #5748 from ai/no_type_in_html5
Remove unnecessary in HTML 5 type attribute with default value
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r--actionpack/lib/action_view/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index f3315948b4..5f81f24a2e 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -139,7 +139,7 @@ module ActionView #:nodoc:
# How to complete the streaming when an exception occurs.
# This is our best guess: first try to close the attribute, then the tag.
cattr_accessor :streaming_completion_on_exception
- @@streaming_completion_on_exception = %("><script type="text/javascript">window.location = "/500.html"</script></html>)
+ @@streaming_completion_on_exception = %("><script>window.location = "/500.html"</script></html>)
# Specify whether rendering within namespaced controllers should prefix
# the partial paths for ActiveModel objects with the namespace.