<?php return array_merge(array( '_root_' => 'welcome/index', // The default route '_404_' => 'welcome/404', // The main 404 route ), \DbRoutes::load());
/** * Refreshes the routes cache. * * @param string $table routes table name * @return array new cached routes array */ public static function refresh() { \Cache::delete(static::$cache_id); return DbRoutes::load(); }