rename metacontroller

This commit is contained in:
flash 2016-12-21 17:28:51 +01:00
parent 13a9029abd
commit ca685bd460
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?php
/**
* Holds the meta page controllers.
* Holds the homepage controller.
* @package Sakura
*/
@ -13,11 +13,11 @@ use Sakura\Template;
use Sakura\User;
/**
* Meta page controllers (sections that aren't big enough to warrant a dedicated controller).
* Homepage controller.
* @package Sakura
* @author Julian van de Groep <me@flash.moe>
*/
class MetaController extends Controller
class HomeController extends Controller
{
/**
* Serves the site index.

View file

@ -19,7 +19,7 @@ Router::filter('maintenance', function () {
Router::group(['before' => 'maintenance'], function () {
// Meta pages
Router::get('/', 'MetaController@index', 'main.index');
Router::get('/', 'HomeController@index', 'main.index');
// Link compatibility layer, prolly remove this in like a year
Router::get('/r/{id}', function ($id) {