xmrmemes/app/Http/Controllers/AboutController.php
2021-07-15 23:35:54 -07:00

19 lines
405 B
PHP

<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use chillerlan\QRCode\{QRCode, QROptions};
class AboutController extends Controller
{
public function index()
{
$data = [
'address' => config('app.xmr_tip_address'),
'qr' => (new QRCode)->render(config('app.xmr_tip_address')),
];
return view('about', ['data' => $data]);
}
}