2FAuth/app/Http/Controllers/SinglePageController.php

21 lines
400 B
PHP
Raw Normal View History

2019-05-28 17:29:15 +02:00
<?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);;
2019-05-28 17:29:15 +02:00
}
}