• Jason Hollingsworth's avatar
    Add support for various archive formats. · 7cc25205
    Jason Hollingsworth authored
    Used mime-types gem instead of hardcoding content types.
    Allow multiple extensions in archive route (.tar.gz, .tar.bz2).
    Change content disposition from infile(?) to attachment for api.
    Fixed api would return “archive” instead of {project}-{hash}.{ext}
    7cc25205
project_routing_spec.rb 25.4 KB