diff options
author | Dzianis Dashkevich <dskecse@gmail.com> | 2017-06-01 22:07:31 +0300 |
---|---|---|
committer | Dzianis Dashkevich <dskecse@gmail.com> | 2017-06-01 22:07:31 +0300 |
commit | e42365e129c42bfb60b2960881a1f0c97bd897f0 (patch) | |
tree | 3c0cb4b84029c4ed69465dc02bbc093da39e24f1 | |
parent | b97e7f02375d4e27286a29d081914bfd1dac3bdf (diff) | |
download | rails-e42365e129c42bfb60b2960881a1f0c97bd897f0.tar.gz rails-e42365e129c42bfb60b2960881a1f0c97bd897f0.tar.bz2 rails-e42365e129c42bfb60b2960881a1f0c97bd897f0.zip |
Replace an outdated mention of `jquery_ujs` with `rails-ujs` [ci skip]
-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. ![Confirm Dialog](images/getting_started/confirm_dialog.png) -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 |