Remove current user check from dashboard view

This commit is contained in:
Anton Khorev 2025-02-19 03:59:38 +03:00
parent 02d9467939
commit 50bf0a6379
4 changed files with 56 additions and 53 deletions

View file

@ -9,7 +9,6 @@ class DashboardsController < ApplicationController
before_action :check_database_readable
def show
@user = current_user
@followings = current_user.followings
@nearby_users = current_user.nearby - @followings
end