Fix views\Template accessing RootController rather than FrontController.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 31 May 2015 21:20:28 +0000 (17:20 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 31 May 2015 21:20:28 +0000 (17:20 -0400)
views/template.php

index da6857d69a514af2d800ec419d6a0c46c2ec3a35..3b4b9c9c2181c277df6f71c2e5d18fd77d42ce0c 100644 (file)
@@ -328,14 +328,14 @@ class TemplateBuiltins
     echo TemplateLoader::Fetch($template)->Render($vars);
   }
 
-  /*! @brief Creates a URL via RootController::MakeURL().
+  /*! @brief Creates a URL via FrontController::MakeURL().
     This requires the root controller be set in the $GLOBALS as
-    hoplite\http\RootController.
+    hoplite\http\FrontController.
     @param string Path.
   */
   static public function MakeURL($path)
   {
-    echo $GLOBALS['hoplite\http\RootController']->MakeURL($path, FALSE);
+    echo $GLOBALS['hoplite\http\FrontController']->MakeURL($path, FALSE);
   }
 }