From 97eae285c57ecac533570035cb408fc795480d97 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Tue, 4 Mar 2014 10:18:07 +0100 Subject: [PATCH] Get rid of the error page after sign up --- app/views/devise/confirmations/new.html.erb | 12 ------------ config/locales/devise.en.yml | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 81e4472d..e69de29b 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,12 +0,0 @@ -

Resend confirmation instructions

- -<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> - <%= devise_error_messages! %> - -
<%= f.label :email %>
- <%= f.email_field :email %>
- -
<%= f.submit "Resend confirmation instructions" %>
-<% end %> - -<%= render "devise/shared/links" %> diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml index e1b9c4fe..18e044e2 100644 --- a/config/locales/devise.en.yml +++ b/config/locales/devise.en.yml @@ -33,7 +33,7 @@ en: confirmations: send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.' send_paranoid_instructions: 'If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes.' - confirmed: 'Your account was successfully confirmed. NOTE: You have not been automatically registered to attend a conference! You can do that below.' + confirmed: 'Your account was successfully confirmed. NOTE: You have not been automatically registered to attend a conference!' registrations: signed_up: 'Welcome! You have signed up successfully.' signed_up_but_unconfirmed: 'A message with a confirmation link has been sent to your email address. Please open the link to activate your account.'