app/controllers/phcmembers/members/contacts_controller.rb in phcmembers-0.9.8 vs app/controllers/phcmembers/members/contacts_controller.rb in phcmembers-1.0.0
- old
+ new
@@ -3,9 +3,10 @@
module Phcmembers
class Members::ContactsController < ApplicationController
# Filters
layout 'layouts/phcmembers/members/members_all.html.erb'
+ before_action :authenticate_user!
before_action :set_members_contact, only: [:show, :edit, :update, :destroy]
# Add Member Contact Information
before_action :phc_member_mains_info