diff options
author | thenickcox <nick@nickcox.me> | 2013-04-02 20:30:25 -0700 |
---|---|---|
committer | thenickcox <nick@nickcox.me> | 2013-04-02 20:54:31 -0700 |
commit | 3475e0ed2402009a72c8e1a4dbf0632c24679fdc (patch) | |
tree | ee8934d3e317653f29b376cce27f256d907fa481 /actionpack/lib/action_view/helpers | |
parent | a7ef0982d44c7bdac5e41a1a97afb8eaa537d6db (diff) | |
download | rails-3475e0ed2402009a72c8e1a4dbf0632c24679fdc.tar.gz rails-3475e0ed2402009a72c8e1a4dbf0632c24679fdc.tar.bz2 rails-3475e0ed2402009a72c8e1a4dbf0632c24679fdc.zip |
Fix grammatical error on JS helper warning message
Add changelog entry
Delete changelog
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index f7e15d0913..edff98ddaa 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -81,7 +81,7 @@ module ActionView # # => <input class="ok" onclick="alert('Hello world!');" type="button" value="Greeting" /> # def button_to_function(name, function=nil, html_options={}) - message = "button_to_function is deprecated and will be removed from Rails 4.1. We recommend to use Unobtrusive JavaScript instead. " + + message = "button_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. " + "See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript" ActiveSupport::Deprecation.warn message @@ -103,7 +103,7 @@ module ActionView # # => <a class="nav_link" href="#" onclick="alert('Hello world!'); return false;">Greeting</a> # def link_to_function(name, function, html_options={}) - message = "link_to_function is deprecated and will be removed from Rails 4.1. We recommend to use Unobtrusive JavaScript instead. " + + message = "link_to_function is deprecated and will be removed from Rails 4.1. We recommend using Unobtrusive JavaScript instead. " + "See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript" ActiveSupport::Deprecation.warn message |