Skip to content

Commit

Permalink
finish the task
Browse files Browse the repository at this point in the history
  • Loading branch information
karim committed Oct 29, 2024
1 parent 7313d34 commit 3ac2940
Show file tree
Hide file tree
Showing 5 changed files with 1,356 additions and 1,024 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Admin/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class DashboardController extends Controller
{

public function __invoke()
{
return view('admin.dashboard');
Expand Down
4 changes: 4 additions & 0 deletions app/Http/Controllers/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ public function show($name)

return view('users.show', compact('user'));
}

public function login(){
redirect('login');
}
}
Loading

0 comments on commit 3ac2940

Please sign in to comment.