Class: Phcmemberspro::Member::DashboardsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/phcmemberspro/member/dashboards_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#user_for_paper_trail

Instance Method Details

#indexObject

INDEX



10
11
12
13
14
15
# File 'app/controllers/phcmemberspro/member/dashboards_controller.rb', line 10

def index
  @member_profile = Phcmemberspro::Member::Profile.where(org_id: current_user.org_id)
  @member_listing = Phcmemberspro::Member::Listing.where(org_id: current_user.org_id)
  @member_address = Phcmemberspro::Member::Address.where(org_id: current_user.org_id)
  @directory_category = Phcmemberspro::Directory::Category.where(org_id: current_user.org_id)
end