Remove current user check from dashboard view
This commit is contained in:
parent
02d9467939
commit
50bf0a6379
4 changed files with 56 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue