Skip to content

Instantly share code, notes, and snippets.

@adamwiggins
Created August 12, 2008 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamwiggins/4993 to your computer and use it in GitHub Desktop.
Save adamwiggins/4993 to your computer and use it in GitHub Desktop.
get '/' do
headers('Content-Disposition' => "attachment; filename=heroku_#{$app.name}.tar.gz")
headers('Content-Type' => 'application/x-gtar')
$app.importexport.export
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment