Start on user dashboard

This commit is contained in:
Deon George
2021-10-26 23:19:55 +11:00
parent 8c127ba5da
commit a0db589dc5
8 changed files with 309 additions and 7 deletions

View File

@@ -13,6 +13,11 @@ use App\Models\{Address,Domain,Echomail,Setup};
class HomeController extends Controller
{
public function home()
{
return redirect(Auth::check() ? 'dashboard' : 'about');
}
public function network(Domain $o)
{
if (! $o->public && ! Gate::check('admin',$o))