diff options
author | ogawaso <ogawaso@gmail.com> | 2013-04-01 19:54:46 +0900 |
---|---|---|
committer | ogawaso <ogawaso@gmail.com> | 2013-04-01 19:54:46 +0900 |
commit | d4d3d05d646ea455c23dee3d0c98ec1f32e38ef7 (patch) | |
tree | ef02c0229c88a7a92322999ecf86ad82dfc3d1cb | |
parent | 3f35924b3c8202e1e8546270cc12a9670b138953 (diff) | |
download | rails-d4d3d05d646ea455c23dee3d0c98ec1f32e38ef7.tar.gz rails-d4d3d05d646ea455c23dee3d0c98ec1f32e38ef7.tar.bz2 rails-d4d3d05d646ea455c23dee3d0c98ec1f32e38ef7.zip |
typo recomend -> recommend
-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 878d3e0eda..f7e15d0913 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 recomend to use Unobtrusive JavaScript instead. " + + message = "button_to_function is deprecated and will be removed from Rails 4.1. We recommend to use 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 recomend to use Unobtrusive JavaScript instead. " + + message = "link_to_function is deprecated and will be removed from Rails 4.1. We recommend to use Unobtrusive JavaScript instead. " + "See http://guides.rubyonrails.org/working_with_javascript_in_rails.html#unobtrusive-javascript" ActiveSupport::Deprecation.warn message |