Added the possiblity to define custom routes from plugins

This commit is contained in:
Frederic Guillot
2015-12-22 19:06:03 +01:00
parent c83f589b22
commit 6f9af3659c
14 changed files with 879 additions and 372 deletions

View File

@@ -2,14 +2,27 @@
namespace Kanboard\Helper;
use Kanboard\Core\Base;
/**
* Application helpers
*
* @package helper
* @author Frederic Guillot
*/
class App extends \Kanboard\Core\Base
class App extends Base
{
/**
* Get plugin name from route
*
* @access public
* @return string
*/
public function getPluginName()
{
return $this->router->getPlugin();
}
/**
* Get router controller
*