mirror of https://github.com/MISP/MISP
fix: [dashboard] custom routing fixed
parent
ab129a12d9
commit
f6f66e0f31
|
@ -37,9 +37,7 @@ class Dashboard extends AppModel
|
|||
|
||||
private function __extractMeta($className, $custom)
|
||||
{
|
||||
debug($className);
|
||||
debug('Dashboard' . $custom ? '/Custom' : '');
|
||||
App::uses($className, 'Dashboard' . $custom ? '/Custom' : '');
|
||||
App::uses($className, 'Dashboard' . ($custom ? '/Custom' : ''));
|
||||
$widgetClass = new $className();
|
||||
$widget = array(
|
||||
'widget' => $className,
|
||||
|
|
Loading…
Reference in New Issue