diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-01 05:13:03 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-04-01 05:13:03 -0700 |
commit | 40f9ca971a4be5b22c643c4db30ec0cdaeff6a59 (patch) | |
tree | ef02c0229c88a7a92322999ecf86ad82dfc3d1cb /actionpack/lib/action_view | |
parent | 3f35924b3c8202e1e8546270cc12a9670b138953 (diff) | |
parent | d4d3d05d646ea455c23dee3d0c98ec1f32e38ef7 (diff) | |
download | rails-40f9ca971a4be5b22c643c4db30ec0cdaeff6a59.tar.gz rails-40f9ca971a4be5b22c643c4db30ec0cdaeff6a59.tar.bz2 rails-40f9ca971a4be5b22c643c4db30ec0cdaeff6a59.zip |
Merge pull request #10026 from ogawaso/typo
typo recomend -> recommend
Diffstat (limited to 'actionpack/lib/action_view')
-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 |