Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #1549 from dhensby/pulls/4/admin-url-fix
Browse files Browse the repository at this point in the history
FIX Allow changing admin URLs
  • Loading branch information
dhensby committed Jul 19, 2016
2 parents 4861310 + 0a7437d commit 6b4617d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/CMSMain.php
Expand Up @@ -173,7 +173,7 @@ public function SwitchView($page = null) {
*/
public function Link($action = null) {
$link = Controller::join_links(
$this->stat('url_base', true),
AdminRootController::admin_url(),
$this->stat('url_segment', true), // in case we want to change the segment
'/', // trailing slash needed if $action is null!
"$action"
Expand Down

0 comments on commit 6b4617d

Please sign in to comment.