for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Epesi\Core\Controllers;
use Illuminate\Routing\Controller;
use Epesi\Core\System\SystemCore;
use Epesi\Core\HomePage\HomePageCommon;
class HomeController extends Controller
{
public function index()
return SystemCore::isInstalled()? redirect()->route('home'): redirect('install');
}
public function home()
return redirect(HomePageCommon::getUserHomePage()->path);