diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-06-01 21:17:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 21:17:37 +0200 |
commit | 34b1e8f253fd44fdae7e772dc302e81a6616824d (patch) | |
tree | 3c0cb4b84029c4ed69465dc02bbc093da39e24f1 /guides/source | |
parent | b97e7f02375d4e27286a29d081914bfd1dac3bdf (diff) | |
parent | e42365e129c42bfb60b2960881a1f0c97bd897f0 (diff) | |
download | rails-34b1e8f253fd44fdae7e772dc302e81a6616824d.tar.gz rails-34b1e8f253fd44fdae7e772dc302e81a6616824d.tar.bz2 rails-34b1e8f253fd44fdae7e772dc302e81a6616824d.zip |
Merge pull request #29314 from dskecse/replace-jquery_ujs-mention-with-rails-ujs
Replace an outdated mention of `jquery_ujs` with `rails-ujs`
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index 6a3a5e465f..49c691c841 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1490,14 +1490,14 @@ second argument, and then the options as another argument. The `method: :delete` and `data: { confirm: 'Are you sure?' }` options are used as HTML5 attributes so that when the link is clicked, Rails will first show a confirm dialog to the user, and then submit the link with method `delete`. This is done via the -JavaScript file `jquery_ujs` which is automatically included in your +JavaScript file `rails-ujs` which is automatically included in your application's layout (`app/views/layouts/application.html.erb`) when you generated the application. Without this file, the confirmation dialog box won't appear.  -TIP: Learn more about jQuery Unobtrusive Adapter (jQuery UJS) on +TIP: Learn more about Unobtrusive JavaScript on [Working With JavaScript in Rails](working_with_javascript_in_rails.html) guide. Congratulations, you can now create, show, list, update and destroy |