Fixed playlist download url generation

This commit is contained in:
Adam Lavin 2015-12-26 03:00:43 +00:00
parent 590a691bc5
commit 378584261d

View file

@ -207,7 +207,7 @@ class Playlist extends Model
public function getDownloadUrl($format)
{
return action('PlaylistsController@getDownload', ['id' => $this->id]);
return action('PlaylistsController@getDownload', ['id' => $this->id, 'format' => Track::$Formats[$format]['extension']]);
}
public function getFilesize($format)