From 57bd53847cfd01d414728c871512ef2af123ffd5 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 19 Aug 2015 20:59:05 -0400 Subject: Improve sidebar menus --- app/Helper/App.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'app/Helper/App.php') diff --git a/app/Helper/App.php b/app/Helper/App.php index 8f591143..e5ebefcb 100644 --- a/app/Helper/App.php +++ b/app/Helper/App.php @@ -10,6 +10,28 @@ namespace Helper; */ class App extends \Core\Base { + /** + * Get router controller + * + * @access public + * @return string + */ + public function getRouterController() + { + return $this->router->getController(); + } + + /** + * Get router action + * + * @access public + * @return string + */ + public function getRouterAction() + { + return $this->router->getAction(); + } + /** * Get javascript language code * -- cgit v1.2.3