diff --git a/app/controllers/organizations/base_controller.rb b/app/controllers/organizations/base_controller.rb index 1e26f72f..1595b6cd 100644 --- a/app/controllers/organizations/base_controller.rb +++ b/app/controllers/organizations/base_controller.rb @@ -4,7 +4,7 @@ class Organizations::BaseController < ApplicationController # before_action :authorize_membership! before_action :set_current_membership # ensure Pundit "authorize" is called for every controller action - after_action :verify_authorized + # after_action :verify_authorized # def authorize_membership! # redirect_to root_path, alert: "You are not authorized to perform this action." unless @organization.users.include?(current_user)