lib/authn/session.rb in authn-2.0.0 vs lib/authn/session.rb in authn-2.0.1
- old
+ new
@@ -27,10 +27,10 @@
alias_method :current_account, :current_user
private
def find_instance_klass(klass)
- const_get klass.capitalize
+ Object.const_get klass.capitalize
end
def klass_as_name(klass)
klass.name.downcase
end