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

20 lines
329 B
PHP
Raw Normal View History

2019-05-28 17:29:15 +02:00
<?php
namespace App\Http\Controllers;
use App\Classes\Options;
2019-05-28 17:29:15 +02:00
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());
2019-05-28 17:29:15 +02:00
}
}