Sha256: 08338526392ab4eb8dafd36237b492fe51e8a6f4d4c379f615731084e3be6d9d

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

require_dependency "phcmembers/application_controller"

module Phcmembers
  class Member::DashboardsController < ApplicationController

    # Security & Action Filters
    before_action :authenticate_user!

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmembers-62.1.0 app/controllers/phcmembers/member/dashboards_controller.rb
phcmembers-62.0.0 app/controllers/phcmembers/member/dashboards_controller.rb