*/ class WelcomepageController extends Controller { public function __construct() { // $this->middleware('board'); } /** * Display a listing of the resource. * * @return Response */ public function get(System $note) { if (Config::get('database.install') == '%0%') { return Redirect::route('licence'); } $notes = $note->get(); foreach ($notes as $note) { $content = $note->content; } return view('themes.default1.client.guest-user.guest', compact('heading', 'content')); } public function index() { if (Config::get('database.install') == '%0%') { return Redirect::route('licence'); } return view('themes.default1.client.helpdesk.guest-user.index'); } }