app/controllers/phcmembers/members/contacts_controller.rb in phcmembers-2.1.2 vs app/controllers/phcmembers/members/contacts_controller.rb in phcmembers-2.1.3

- old
+ new

@@ -3,10 +3,10 @@ module Phcmembers class Members::ContactsController < ApplicationController # Filters layout 'layouts/phcmembers/members/members_all.html.erb' - before_action :authenticate_user! + before_filter :authenticate_user!, if: -> { defined?(Devise) } before_action :set_members_contact, only: [:show, :edit, :update, :destroy] # Add Member Contact Information before_action :phc_member_mains_info