Skip to content

Commit

Permalink
Fixed admin page template not found
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Aug 8, 2017
1 parent ded27fc commit 4a80f1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Library/Controller/Admin/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function index()

Template::putContext('cardList', MCard::queryAll());
Template::putContext('user', User::getCurrent());
Template::setView("admin/card");
Template::setView("Xenon/admin/card");
}

/**
Expand Down
4 changes: 2 additions & 2 deletions Library/Controller/Admin/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function system()
$data['user_test_day'] = Option::get('user_test_day');

Template::setContext($data);
Template::setView("admin/setting");
Template::setView("Xenon/admin/setting");
}

/**
Expand All @@ -53,7 +53,7 @@ public function information()
$data['options'] = Option::getOptions();

Template::setContext($data);
Template::setView("admin/system");
Template::setView("Xenon/admin/system");
}

/**
Expand Down

0 comments on commit 4a80f1e

Please sign in to comment.