module PunditExtra

Constants

VERSION

Public Class Methods

included(_base) click to toggle source
# File lib/pundit_extra/controller_mixin.rb, line 2
def self.included(_base)
  if defined? ActionController::Base
    ActionController::Base.class_eval do
      include PunditExtra::Helpers
      include PunditExtra::ResourceAutoload
    end
  end
end