Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "rubygems"
- require "bundler/setup"
- require 'sinatra' # 1.1.0
- require 'sinatra/respond_to' # 0.5.0
- Sinatra::Application.register Sinatra::RespondTo
- get '/' do
- respond_to do |format|
- format.txt { "hello txt" }
- end
- end
Add Comment
Please, Sign In to add comment