mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-25 17:54:57 +01:00
20 lines
329 B
PHP
20 lines
329 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Classes\Options;
|
|
use Illuminate\Http\Request;
|
|
|
|
class SinglePageController extends Controller
|
|
{
|
|
|
|
/**
|
|
* return the main view
|
|
* @return view
|
|
*/
|
|
public function index()
|
|
{
|
|
return view('landing')->with('appSettings', Options::get()->toJson());
|
|
}
|
|
}
|