Skip to content

Commit

Permalink
Made possible to use thumbnail() for asset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-KM committed Apr 19, 2020
1 parent 6f65c25 commit af6afdb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/src/Api/Representation/AssetRepresentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,9 @@ public function assetUrl()
{
return $this->getFileUrl('asset', $this->filename());
}

public function thumbnail()
{
return $this;
}
}

0 comments on commit af6afdb

Please sign in to comment.