diff options
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/working_with_javascript_in_rails.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/working_with_javascript_in_rails.md b/guides/source/working_with_javascript_in_rails.md index 011303c311..10b9dddd02 100644 --- a/guides/source/working_with_javascript_in_rails.md +++ b/guides/source/working_with_javascript_in_rails.md @@ -322,7 +322,7 @@ this: end ``` -Notice the format.js in the respond_to block; that allows the controller to +Notice the format.js in the `respond_to` block; that allows the controller to respond to your Ajax request. You then have a corresponding `app/views/users/create.js.erb` view file that generates the actual JavaScript code that will be sent and executed on the client side. @@ -379,7 +379,7 @@ $(document).on "page:change", -> For more details, including other events you can bind to, check out [the Turbolinks -README](https://github.com/rails/turbolinks/blob/ec9ca4d6cf9626e03a672f3b9e7968c816aff94e/README.md). +README](https://github.com/rails/turbolinks/blob/master/README.md). Other Resources --------------- |