app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-3.0.2 vs app/controllers/phcmemberspro/members/contacts_controller.rb in phcmemberspro-3.0.3
- old
+ new
@@ -2,12 +2,15 @@
module Phcmemberspro
class Members::ContactsController < ApplicationController
# Security & Action Filters
- # before_filter :authenticate_user!
+ before_filter :authenticate_user!
layout 'layouts/phcmemberspro/members/members_all.html.erb'
before_action :set_members_contact, only: [:show, :edit, :update, :destroy]
+
+ # Auto Complete
+ autocomplete :members_contact, :mccompanyname
# Add Member Contact Information
before_action :phc_member_mains_info
def phc_member_mains_info