aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/capture_helper.rb
diff options
context:
space:
mode:
authorAndrey A.I. Sitnik <andrey@sitnik.ru>2012-04-05 15:32:37 +0400
committerAndrey A.I. Sitnik <andrey@sitnik.ru>2012-04-05 15:32:37 +0400
commitf3fb416b89dab8d7b565b174bdc1116a519ab18d (patch)
tree9b5853dbb424e2b96ce41e870010cda73dd04058 /actionpack/lib/action_view/helpers/capture_helper.rb
parenta9398a7da4fa845a0182bd53273c607dae55b1ee (diff)
downloadrails-f3fb416b89dab8d7b565b174bdc1116a519ab18d.tar.gz
rails-f3fb416b89dab8d7b565b174bdc1116a519ab18d.tar.bz2
rails-f3fb416b89dab8d7b565b174bdc1116a519ab18d.zip
Remove unnecessary in HTML 5 type attribute with default value
Diffstat (limited to 'actionpack/lib/action_view/helpers/capture_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/capture_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionpack/lib/action_view/helpers/capture_helper.rb
index 278139cadb..d9d6f90211 100644
--- a/actionpack/lib/action_view/helpers/capture_helper.rb
+++ b/actionpack/lib/action_view/helpers/capture_helper.rb
@@ -96,7 +96,7 @@ module ActionView
# Please login!
#
# <% content_for :script do %>
- # <script type="text/javascript">alert('You are not authorized to view this page!')</script>
+ # <script>alert('You are not authorized to view this page!')</script>
# <% end %>
#
# Then, in another view, you could to do something like this: