Sha256: 8cf27641c1de8a89ec481b19ebb788205a3d129a662158e4cc304fd0856521b8

Contents?: true

Size: 628 Bytes

Versions: 10

Compression:

Stored size: 628 Bytes

Contents

require_dependency "phcmemberspro/application_controller"

module Phcmemberspro
  class Modules::DashboardsController < ApplicationController

    # Security & Action Filters
    before_action :require_user
    before_action :membership_info

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

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcmemberspro-20.1.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-20.0.4 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-20.0.3 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-20.0.2 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-20.0.1 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-20.0.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-19.0.1 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-19.0.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-18.0.1 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-18.0.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb