From 13450f64ed013f8982289b13b424634293a119d1 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Tue, 2 Jul 2019 16:53:26 +1200 Subject: [PATCH] Squish a devise deprecation warning --- app/views/devise/confirmations/new.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/devise/confirmations/new.html.haml b/app/views/devise/confirmations/new.html.haml index a17ab86a9..c3e1867ac 100644 --- a/app/views/devise/confirmations/new.html.haml +++ b/app/views/devise/confirmations/new.html.haml @@ -5,8 +5,7 @@ = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'form-horizontal', role: 'form' }) do |f| - = devise_error_messages! - + = render 'devise/shared/error_messages', resource: resource %p Enter either your login name or your email address to resend the confirmation email. = f.text_field :login, class: 'form-control', placeholder: 'email or login name'