App\Http\Controllers\Laralum\InstallerController::show PHP Method

show() public method

public show ( $locale )
    public function show($locale)
    {
        // Show the installation form
        if (!Laralum::checkInstalled()) {
            // Set the locale
            App::setLocale($locale);
            return view('laralum/installer/index');
        } else {
            return redirect()->route('Laralum::dashboard')->with('warning', trans('laralum.already_installed'));
        }
    }