Skip to content

Commit

Permalink
Merge pull request #55
Browse files Browse the repository at this point in the history
-> Fix #50
  • Loading branch information
NaysKutzu authored Oct 17, 2023
2 parents 1ac17f0 + 016cc3e commit 520ada1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
require("../view/user/connections.php");
});

$router->add("/users",function () {
$router->add("/users/list",function () {
require("../include/main.php");
require("../view/user/list.php");
});
Expand Down
4 changes: 2 additions & 2 deletions view/components/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ function is_active_page($page_urls)
</li>
</ul>
</li>
<li class="menu-item <?php echo is_active_page(['/users']) ? 'active' : ''; ?>">
<a href="/users" class="menu-link">
<li class="menu-item <?php echo is_active_page(['/users/list']) ? 'active' : ''; ?>">
<a href="/users/list" class="menu-link">
<i class="menu-icon tf-icons ti ti-users"></i>
<div>Users</div>
</a>
Expand Down

0 comments on commit 520ada1

Please sign in to comment.