mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-28 11:13:11 +01:00
21 lines
399 B
PHP
21 lines
399 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class SinglePageController extends Controller
|
|
{
|
|
|
|
/**
|
|
* return the main view
|
|
* @return view
|
|
*/
|
|
public function index()
|
|
{
|
|
$appSettings = \Illuminate\Support\Facades\DB::table('options')->pluck('value', 'key')->toJson();
|
|
|
|
return view('landing')->with('appSettings', $appSettings);
|
|
}
|
|
}
|