Created
September 16, 2014 17:25
-
-
Save tooky/9b2fb653cbc86c653590 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
require 'sinatra' | |
get '/foo.jpg' do | |
# foo.jpg in the app root directory | |
send_file 'foo.jpg', disposition: 'inline' | |
end | |
run Sinatra::Application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment