Skip to content

Commit

Permalink
corrige rotas do plugin do metabase
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelchavesfreitas committed Jul 1, 2024
1 parent 56fe89b commit bc3e8cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev/config.d/routes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
$routes = $config['routes'];

$routes["shortcuts"]['metabase'] = ["metabase", "panel"];
$routes["shortcuts"]['paineis-de-dados'] = ["metabase", "panel"];
$routes["shortcuts"]['painel-de-dados'] = ["metabase", "dashboard"];

return ['routes' => $routes];
3 changes: 2 additions & 1 deletion docker/common/config.d/routes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
$routes = $config['routes'];

$routes["shortcuts"]['metabase'] = ["metabase", "panel"];
$routes["shortcuts"]['paineis-de-dados'] = ["metabase", "panel"];
$routes["shortcuts"]['painel-de-dados'] = ["metabase", "dashboard"];

return ['routes' => $routes];

0 comments on commit bc3e8cb

Please sign in to comment.