lib/fourchette/web/tarball.rb in fourchette-0.1.2 vs lib/fourchette/web/tarball.rb in fourchette-0.1.3

- old
+ new

@@ -2,9 +2,12 @@ if params['expiration_timestamp'].to_i < Time.now.to_i status 404 'Oops...' else logger.info('Serving a tarball!') - filepath = Fourchette::Tarball.new.filepath(params['uuid'], params['expiration_timestamp']) - send_file filepath, :type => 'application/x-tgz' + filepath = Fourchette::Tarball.new.filepath( + params['uuid'], + params['expiration_timestamp'] + ) + send_file filepath, type: 'application/x-tgz' end -end \ No newline at end of file +end