diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index cfd5364..767b7f3 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -42,12 +42,6 @@ class ProfileController extends Controller $this->profileService = $profileService; } - public function index() - { - return view('dashboard.user.directory') - ->with('users', User::with('profile', 'bans')->paginate(9)); - } - public function showProfile() { // TODO: Come up with cleaner social media solution, e.g. social media object diff --git a/config/adminlte.php b/config/adminlte.php index e1aa11e..a90756c 100755 --- a/config/adminlte.php +++ b/config/adminlte.php @@ -232,12 +232,6 @@ return [ 'icon' => 'fas fa-home', 'url' => 'dashboard', ], - [ - 'text' => 'm_directory', - 'icon' => 'fas fa-users', - 'url' => 'users/directory', - 'can' => 'profiles.view.others', - ], [ 'header' => 'h_applications', 'can' => 'applications.view.own', diff --git a/resources/views/dashboard/dashboard.blade.php b/resources/views/dashboard/dashboard.blade.php index 00c7b1f..5c3228b 100755 --- a/resources/views/dashboard/dashboard.blade.php +++ b/resources/views/dashboard/dashboard.blade.php @@ -270,33 +270,6 @@ @endif - - -
- -
- -
- -
- -

-   {{__('Your upcoming interviews')}} ({{__('Coming soon')}}) -

- -
- -
- -
- -
- -
- -
- -
@stop @section('footer') @include('breadcrumbs.dashboard.footer') diff --git a/routes/web.php b/routes/web.php index 84366a0..b67bcec 100755 --- a/routes/web.php +++ b/routes/web.php @@ -108,9 +108,6 @@ Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => ['lo ->name('dashboard') ->middleware('eligibility'); - Route::get('users/directory', [ProfileController::class, 'index']) - ->name('directory'); - Route::resource('teams', TeamController::class); Route::post('teams/{team}/invites/send', [TeamController::class, 'invite'])