Commit 8b9073d8 authored by xiphon's avatar xiphon
Browse files

fix QR code generation, use appropriate 'address_uri' property

parent 88ce6b4e
...@@ -59,7 +59,7 @@ class Project extends Model ...@@ -59,7 +59,7 @@ class Project extends Model
} }
public function generateQrcode() { public function generateQrcode() {
return QrCode::format('png')->size(500)->generate($this->uri); return QrCode::format('png')->size(500)->generate($this->address_uri);
} }
public function getQrCodeSrcAttribute() { public function getQrCodeSrcAttribute() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment