<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class AppController extends Controller
{
    public function home()
    {
        $referal_user = "";
        return view('app.home', compact('referal_user'));
    }

    public function refer($username)
    {
        $referal_user = base64_decode($username);
        return view('app.home', compact('referal_user'));
    }
}
