1 class DashboardsController < ApplicationController
 
   4   before_action :authorize_web
 
   5   before_action :set_locale
 
   7   authorize_resource :class => false
 
   9   before_action :check_database_readable
 
  12     @followings = current_user.followings
 
  13     @nearby_users = current_user.nearby - @followings