Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
8b9073d8
Commit
8b9073d8
authored
Jan 27, 2019
by
xiphon
Browse files
fix QR code generation, use appropriate 'address_uri' property
parent
88ce6b4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Project.php
View file @
8b9073d8
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment