Claim LBRY link and Thumbnail #32

Merged
marcdeb1 merged 4 commits from claim_links into master 2018-10-19 13:49:23 +02:00
Showing only changes of commit 69734f2add - Show all commits

View file

@ -5,7 +5,7 @@ namespace App\Model\Entity;
use Cake\ORM\Entity; use Cake\ORM\Entity;
class Claim extends Entity { class Claim extends Entity {
function getLink() { function getLbryLink() {
$link = $this->Name; $link = $this->Name;
if (isset($this->Publisher->Name)) { if (isset($this->Publisher->Name)) {
$link = $this->Publisher->Name . '/' . $link; $link = $this->Publisher->Name . '/' . $link;