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
13 @followings = current_user.followings
14 @nearby_users = current_user.nearby - @followings