<?php
/**
* Hold the controller for informational pages.
* @package Sakura
*/
namespace Sakura\Controllers;
* Informational controller.
* @author Julian van de Groep <me@flash.moe>
class InfoController extends Controller
{
* Renders the terms of service.
* @return string
public function terms()
return view('info/terms');
}
* Renders the privacy policy.
public function privacy()
return view('info/privacy');
* Renders the contact page.
public function contact()
$contact = config('contact');
return view('info/contact', compact('contact'));
* Renders the rules page.
public function rules()
return view('info/rules');
* Renders the welcome page.
public function welcome()
return view('info/welcome');