lib/generators/devise/users/helper.rb in cream-0.8.9.2 vs lib/generators/devise/users/helper.rb in cream-0.8.9.3
- old
+ new
@@ -40,10 +40,10 @@
def has_devise_user? user
return true if is_admin?(user) && !admin_class
begin
read_model(user.as_filename) =~ /devise/
rescue Exception => e
- logger.info "Exception for #has_devise_user? #{user}: #{e.message}"
+ info! "Exception for #has_devise_user? #{user}: #{e.message}"
false
end
end
def devise_users?
\ No newline at end of file