diff options
author | Yu Haidong <yuhaidongyhd@gmail.com> | 2015-03-02 22:30:59 +0800 |
---|---|---|
committer | Yu Haidong <yuhaidongyhd@gmail.com> | 2015-03-02 22:30:59 +0800 |
commit | b7aa845c018f3b01e70f274a9b30112276a6dcaa (patch) | |
tree | 772eb8e330be6a6fdea30530411dbe8a4573554e /guides | |
parent | ffda39f3643033dca1bbb5ca8bc990f46dbec95c (diff) | |
download | rails-b7aa845c018f3b01e70f274a9b30112276a6dcaa.tar.gz rails-b7aa845c018f3b01e70f274a9b30112276a6dcaa.tar.bz2 rails-b7aa845c018f3b01e70f274a9b30112276a6dcaa.zip |
Modify guides for a better sounding sentence
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md index e6c7965007..66cfb72aaf 100644 --- a/guides/source/getting_started.md +++ b/guides/source/getting_started.md @@ -1483,10 +1483,10 @@ 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 into your +JavaScript file `jquery_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 -wouldn't appear. +generated the application. Without this file, the confirmation dialog box won't +appear. ![Confirm Dialog](images/getting_started/confirm_dialog.png) |