diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-18 22:07:49 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-18 22:07:49 -0400 |
commit | 49f43090b214c4346a114922696b7d9d96d2c02e (patch) | |
tree | 418c2f2322cf59dc0a9bf0c65fe0d2c1030af6c3 /app/Helper | |
parent | bfd59d9e544028a1ea041806fd60e112f3a90167 (diff) |
Added plugin controller (WIP)
Diffstat (limited to 'app/Helper')
-rw-r--r-- | app/Helper/LayoutHelper.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/Helper/LayoutHelper.php b/app/Helper/LayoutHelper.php index 75cd178a..aeb0c846 100644 --- a/app/Helper/LayoutHelper.php +++ b/app/Helper/LayoutHelper.php @@ -121,6 +121,19 @@ class LayoutHelper extends Base } /** + * Common layout for plugin views + * + * @access public + * @param string $template + * @param array $params + * @return string + */ + public function plugin($template, array $params) + { + return $this->subLayout('plugin/layout', 'plugin/sidebar', $template, $params); + } + + /** * Common layout for dashboard views * * @access public |