app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-5.3.5 vs app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-5.3.6
- old
+ new
@@ -12,10 +12,10 @@
before_action :phc_member_mains_info
# Member Contact Index
def index
main = Members::Main.find(params[:main_id])
- @members_contacts = main.contacts.current_user.id.order('mcprovince ASC')
+ @members_contacts = main.contacts.all.order('mcprovince ASC')
end
# Detailed Member Contact Information
def show
main = Members::Main.find(params[:main_id])