Skip to content
This repository has been archived by the owner on Dec 22, 2020. It is now read-only.

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 cdb82c6 commit bc32f49
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions module.php
Expand Up @@ -57,9 +57,12 @@ public function modAction($mod_action) {
}
}

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

Expand Down

0 comments on commit bc32f49

Please sign in to comment.