app/controllers/phcmembers/members/mains_controller.rb in phcmembers-1.0.0 vs app/controllers/phcmembers/members/mains_controller.rb in phcmembers-1.0.1
- old
+ new
@@ -3,10 +3,10 @@
module Phcmembers
class Members::MainsController < ApplicationController
# Filters
layout 'layouts/phcmembers/members/members_all.html.erb'
- #before_action :authenticate_user!
+ before_action :authenticate_user!
before_action :set_members_main, only: [:show, :edit, :update, :destroy]
# Member Profile List
def index
@members_mains = Members::Main.all