Make supplier signup working as expected

This commit is contained in:
2013-12-22 12:30:22 +01:00
parent c6f790eccd
commit ff10d9360b
8 changed files with 45 additions and 13 deletions
+5
View File
@@ -3,6 +3,8 @@
en:
devise:
confirmations:
title: "Resend confirmation instructions"
submit_text: "Resend confirmation instructions"
confirmed: "Your account was successfully confirmed. Please sign in."
confirmed_and_signed_in: "Your account was successfully confirmed. You are now signed in."
send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
@@ -43,6 +45,9 @@ en:
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
updated: "Your password was changed successfully. You are now signed in."
updated_not_active: "Your password was changed successfully."
edit:
title: Change your password
button: Change password
registrations:
destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
signed_up: "Welcome! You have signed up successfully."
+5
View File
@@ -10,6 +10,8 @@ nl:
devise:
confirmations:
title: "Struur opnieuw bevestigingsinstructies"
submit_text: "Stuur opnieuw bevestigingsinstructies"
send_instructions: 'Er wordt een een e-mail naar je toe gestuurd waarin je je account kan bevestigen.'
confirmed: 'De activatie van je account is succesvol. Je bent nu aangemeld!'
did_not_receive_instructions_link: "Heeft u geen bevestigingsinstructies ontvangen?"
@@ -42,6 +44,9 @@ nl:
updated: 'Uw wachtwoord is succesvol gewijzigd. U bent nu ingelogd.'
forgot_password: Wachtwoord vergeten?
send_instructions_button: Stuur mij reset instructies
edit:
title: Verander je wachtwoord
button: Verander wachtwoord
registrations:
title: Aanmelden
button: Aanmelden
+1 -1
View File
@@ -1,6 +1,6 @@
Qwaiter::Application.routes.draw do
devise_for :users, controllers: { omniauth_callbacks: "users/omniauth_callbacks" }
devise_for :suppliers, controllers: { confirmations: 'confirmations' }
devise_for :suppliers, controllers: { confirmations: 'confirmations', registrations: 'registrations' }
devise_for :administrators
namespace :admin do
resources :users do