mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
Don't cache variable otherwise reloading in development is busted.
This commit is contained in:
@@ -72,7 +72,7 @@ module Devise
|
||||
|
||||
# Gives the class the mapping points to.
|
||||
def to
|
||||
@to ||= ActiveSupport::Inflector.constantize(@class_name)
|
||||
ActiveSupport::Inflector.constantize(@class_name)
|
||||
end
|
||||
|
||||
def strategies
|
||||
|
||||
Reference in New Issue
Block a user