Created
May 31, 2016 04:47
-
-
Save gideondsouza/aa2396b5cd59429f4a082b05f4c8bc3f to your computer and use it in GitHub Desktop.
Uploading images with Ruby and Sinatra http://www.gideondsouza.com/blog/uploading-images-with-ruby-and-sinatra/
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
<html> | |
<head> | |
<title>Show Image</title> | |
</head> | |
<body> | |
<h1>See Image</h1> | |
<img src="<%= @filename %>" /> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment