Skip to content

Instantly share code, notes, and snippets.

@roolo
Created October 25, 2013 08:28
Show Gist options
  • Select an option

  • Save roolo/7151356 to your computer and use it in GitHub Desktop.

Select an option

Save roolo/7151356 to your computer and use it in GitHub Desktop.
Sinatra – json by default
before do
content_type 'application/json'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment