Skip to content

Instantly share code, notes, and snippets.

@achiurizo
Created August 29, 2012 23:41
Show Gist options
  • Save achiurizo/3520479 to your computer and use it in GitHub Desktop.
Save achiurizo/3520479 to your computer and use it in GitHub Desktop.
get :download, :with => :id do
content_type 'text/csv'
@csv.content #=> Just a String of CSV content
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment