Skip to content

Commit

Permalink
Fix railtie requiring
Browse files Browse the repository at this point in the history
  • Loading branch information
hoverjet committed Mar 18, 2024
1 parent 3a4ff13 commit 7088aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pundit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
require "active_support/core_ext/module/introspection"
require "active_support/dependencies/autoload"
require "pundit/authorization"
require "pundit/railtie"
require "pundit/railtie" if defined?(Rails)

# @api private
# To avoid name clashes with common Error naming when mixing in Pundit,
Expand Down

0 comments on commit 7088aed

Please sign in to comment.