class DashboardsController < ApplicationController
  def show
    @user = current_user
    @groups = @user.groups
    @relevant_issues = Issue.all(limit: 2)
  end
end

class DashboardsController < ApplicationController
  def show
    @user = current_user
    @groups = @user.groups
    @relevant_issues = current_user.issues_near_locations
  end
end

Use real method to find nearby issues.
Use real method to find nearby issues.
