aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/README.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-08-06 13:44:45 +0530
committerGitHub <noreply@github.com>2017-08-06 13:44:45 +0530
commit1fe55e94b7a7fbc292b5aec57d4b8d7d46f45ee7 (patch)
tree3a089dc9ece61c5fe71c3e5fb5c61a058c8ce718 /activestorage/README.md
parent4d4e85725641043395952534b9ef4b27791cbea1 (diff)
downloadrails-1fe55e94b7a7fbc292b5aec57d4b8d7d46f45ee7.tar.gz
rails-1fe55e94b7a7fbc292b5aec57d4b8d7d46f45ee7.tar.bz2
rails-1fe55e94b7a7fbc292b5aec57d4b8d7d46f45ee7.zip
Pass over Active Storage readme [ci skip] (#30086)
Diffstat (limited to 'activestorage/README.md')
-rw-r--r--activestorage/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/README.md b/activestorage/README.md
index 06594a3ecb..aad11325e3 100644
--- a/activestorage/README.md
+++ b/activestorage/README.md
@@ -2,7 +2,7 @@
Active Storage makes it simple to upload and reference files in cloud services, like Amazon S3, Google Cloud Storage or Microsoft Azure Storage and attach those files to Active Records. It also provides a disk service for testing or local deployments, but the focus is on cloud storage.
-Files can uploaded from the server to the cloud or directly from the client to the cloud.
+Files can be uploaded from the server to the cloud or directly from the client to the cloud.
Image files can further more be transformed using on-demand variants for quality, aspect ratio, size, or any other
MiniMagick supported transformation.
@@ -119,7 +119,7 @@ Active Storage, with its included JavaScript library, supports uploading directl
| Event name | Event target | Event data (`event.detail`) | Description |
| --- | --- | --- | --- |
-| `direct-uploads:start` | `<form>` | None | A form containing files for direct upload fields was submit. |
+| `direct-uploads:start` | `<form>` | None | A form containing files for direct upload fields was submitted. |
| `direct-upload:initialize` | `<input>` | `{id, file}` | Dispatched for every file after form submission. |
| `direct-upload:start` | `<input>` | `{id, file}` | A direct upload is starting. |
| `direct-upload:before-blob-request` | `<input>` | `{id, file, xhr}` | Before making a request to your application for direct upload metadata. |