for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
class SettingsController extends Controller
{
// TODO: Needs phpunit tests. -> create github issue
/**
* SettingsController constructor.
*/
public function __construct()
$this->middleware('auth');
$this->middleware('lang');
}
* Get the general settings page.
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
public function index()
return view('settings.index');
* Get the email settings page.
public function email()
return view('settings.email');