Sha256: 82f7fd71907df51b635d912c1a0ee6de3450ac56d7534c7fda42c0e3d3aa516f
Contents?: true
Size: 661 Bytes
Versions: 6
Compression:
Stored size: 661 Bytes
Contents
# frozen_string_literal: true module DeviseHelper # Retain this method for backwards compatibility, deprecated in favour of modifying the # devise/shared/error_messages partial def devise_error_messages! ActiveSupport::Deprecation.warn <<-DEPRECATION.strip_heredoc [Devise] `DeviseHelper.devise_error_messages!` is deprecated and it will be removed in the next major version. To customize the errors styles please run `rails g devise:views` and modify the `devise/shared/error_messages` partial. DEPRECATION return "" if resource.errors.empty? render "devise/shared/error_messages", resource: resource end end
Version data entries
6 entries across 6 versions & 1 rubygems