2015-11-03 05:13:32 +01:00
|
|
|
<?php
|
|
|
|
namespace App\Http\Controllers;
|
2015-11-04 02:56:03 +01:00
|
|
|
use Illuminate\Http\Request;
|
2015-11-07 03:44:50 +01:00
|
|
|
use App\Helpers\CryptoHelper;
|
2015-11-03 05:13:32 +01:00
|
|
|
|
2015-11-04 02:56:03 +01:00
|
|
|
class IndexController extends Controller {
|
2015-11-03 05:13:32 +01:00
|
|
|
/**
|
|
|
|
* Show the index page.
|
|
|
|
*
|
|
|
|
* @return Response
|
|
|
|
*/
|
2015-11-04 02:56:03 +01:00
|
|
|
public function showIndexPage(Request $request) {
|
2016-01-19 00:15:35 +01:00
|
|
|
if (env('POLR_SETUP_RAN') != true) {
|
|
|
|
return redirect(route('setup'));
|
|
|
|
}
|
2015-11-04 02:56:03 +01:00
|
|
|
return view('index', ['large' => true]);
|
2015-11-03 05:13:32 +01:00
|
|
|
}
|
|
|
|
}
|