Skip to content

Commit afcf331

Browse files
docs: fix punctuation
1 parent 8bedd7d commit afcf331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/working_with_javascript_in_rails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ added to the form that the `button_to` helper renders internally:
320320

321321
### Ajax Requests
322322

323-
When making non-GET requests from JavaScript the `X-CSRF-Token` header is required.
324-
Without this header requests won't be accepted by Rails.
323+
When making non-GET requests from JavaScript, the `X-CSRF-Token` header is required.
324+
Without this header, requests won't be accepted by Rails.
325325

326326
NOTE: This token is required by Rails to prevent Cross-Site Request Forgery (CSRF) attacks. Read more in the [security guide](security.html#cross-site-request-forgery-csrf).
327327

0 commit comments

Comments
 (0)