Sha256: 12a18353fff50dd99089aed7ed20dde65a05cb478617c9f5d324ff11e890b1e9

Contents?: true

Size: 635 Bytes

Versions: 10

Compression:

Stored size: 635 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-17.1.4 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.1.3 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.1.2 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.1.1 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.1.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.0.3 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.0.2 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.0.1 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-17.0.0 app/controllers/phcmemberspro/modules/dashboards_controller.rb
phcmemberspro-16.0.2 app/controllers/phcmemberspro/modules/dashboards_controller.rb