fix download error; closes #39

This commit is contained in:
Dane Everitt 2016-01-25 18:39:34 -05:00
parent 6e2207fbb3
commit 873f39d574

View file

@ -173,7 +173,7 @@ class ServerController extends Controller
$this->authorize('download-files', $server);
$download = new Download;
$download = new Models\Download;
$download->token = Uuid::generate(4);
$download->server = $server->uuid;