1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-15 06:32:30 +01:00
polr/app/Http/Controllers/IndexController.php

19 lines
427 B
PHP
Raw Normal View History

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