Skip to content

Commit

Permalink
new admin route url
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCarmen committed Dec 10, 2017
1 parent 8e6395a commit c8582b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions module.php
Expand Up @@ -101,9 +101,12 @@ public function modAction($mod_action) {
}
}

// Implement WT_Module_Config
/** {@inheritdoc} */
public function getConfigLink() {
return 'module.php?mod=' . $this->getName() . '&mod_action=admin_config';
return Html::url('module.php', [
'mod' => $this->getName(),
'mod_action' => 'admin_config',
]);
}

// Implement WT_Module_Sidebar
Expand Down

0 comments on commit c8582b2

Please sign in to comment.