mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
parent
ce220c5ea7
commit
6ff5a986dd
@ -600,7 +600,8 @@ class Module
|
||||
*/
|
||||
protected function registerRoutes()
|
||||
{
|
||||
$this->app->getFrontController()->getRouter()->addRoute(
|
||||
$router = $this->app->getFrontController()->getRouter();
|
||||
$router->addRoute(
|
||||
$this->name . '_jsprovider',
|
||||
new Route(
|
||||
'js/' . $this->name . '/:file',
|
||||
@ -611,7 +612,7 @@ class Module
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->app->getFrontController()->getRouter()->addRoute(
|
||||
$router->addRoute(
|
||||
$this->name . '_img',
|
||||
new Route(
|
||||
'img/' . $this->name . '/:file',
|
||||
|
Loading…
x
Reference in New Issue
Block a user