View Source Buckets.Router.VolumeController (Buckets v1.0.0-rc.3)
Phoenix controller for handling local file uploads and downloads in development.
This controller is automatically used by the Buckets.Router.buckets_volume/2
macro to handle Volume adapter file operations.
Endpoints
get/2
- Downloads files from the local filesystemput/2
- Uploads files to the local filesystem with signature validation
For usage and configuration, see Buckets.Router
.