mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Grammar fixes
[ci skip]
This commit is contained in:
parent
0a9522a8b3
commit
48f2a0c566
1 changed files with 3 additions and 2 deletions
|
@ -30,7 +30,7 @@ Run `yarn add rails-ujs` to install the rails-ujs package.
|
|||
Usage
|
||||
------------
|
||||
|
||||
Require `rails-ujs` into your application.js manifest.
|
||||
Require `rails-ujs` in your application.js manifest.
|
||||
|
||||
```javascript
|
||||
//= require rails-ujs
|
||||
|
@ -39,7 +39,8 @@ Require `rails-ujs` into your application.js manifest.
|
|||
Usage with yarn
|
||||
------------
|
||||
|
||||
When using with Webpacker gem or your preferred JavaScript bundler. Just add the following to your main JS file and compile.
|
||||
When using with the Webpacker gem or your preferred JavaScript bundler, just
|
||||
add the following to your main JS file and compile.
|
||||
|
||||
```javascript
|
||||
import Rails from 'rails-ujs';
|
||||
|
|
Loading…
Reference in a new issue