Created
September 29, 2015 06:57
-
-
Save gsmaverick/be43f82b5bc8a99c4f2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import S3File | |
object HelloWorldController extends Controller { | |
def index = { | |
val file = S3File("id", "path/to/file") | |
val json = Json.toJson(file)(S3File.linkSigningS3FileWrites) | |
Ok(json) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment