Skip to content

Commit

Permalink
Port fix from heartcombo#5357
Browse files Browse the repository at this point in the history
So that this branch can be used with rails/main.
  • Loading branch information
ghiculescu authored and yrashk committed Feb 16, 2022
1 parent 2a1d6fb commit d1bbdb2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/devise.rb
Expand Up @@ -323,10 +323,6 @@ def get
end

def self.ref(arg)
# TODO: Remove AS::Dependencies usage when dropping support to Rails < 7.
if ActiveSupport::Dependencies.respond_to?(:reference)
ActiveSupport::Dependencies.reference(arg)
end
Getter.new(arg)
end

Expand Down

0 comments on commit d1bbdb2

Please sign in to comment.