Sha256: b97ca043709fa3ac4ca1fe6834d2ada8d10abd06567a6b9b36ba941f75b6cbe6

Contents?: true

Size: 555 Bytes

Versions: 2

Compression:

Stored size: 555 Bytes

Contents

require_dependency "phcmemberspro/application_controller"

module Phcmemberspro
  class Modules::DashboardsController < ApplicationController

    # Security & Action Filters
    before_action :authenticate_user!

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcmemberspro-36.1.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-36.0.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb