mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix javascript_include_tag examples in documentation
This commit is contained in:
@@ -119,10 +119,10 @@ module ActionView
|
||||
# # <script type="text/javascript" src="/elsewhere/cools.js?1423139606"></script>
|
||||
#
|
||||
# javascript_include_tag "http://www.example.com/xmlhr"
|
||||
# # => <script type="text/javascript" src="http://www.example.com/xmlhr.js?1284139606"></script>
|
||||
# # => <script type="text/javascript" src="http://www.example.com/xmlhr"></script>
|
||||
#
|
||||
# javascript_include_tag "http://www.example.com/xmlhr.js"
|
||||
# # => <script type="text/javascript" src="http://www.example.com/xmlhr.js?1284139606"></script>
|
||||
# # => <script type="text/javascript" src="http://www.example.com/xmlhr.js"></script>
|
||||
#
|
||||
# javascript_include_tag :defaults
|
||||
# # => <script type="text/javascript" src="/javascripts/jquery.js?1284139606"></script>
|
||||
|
||||
Reference in New Issue
Block a user