Allow users to send themselves a new confirmation email

Add a method which generates a new confirmation email, and provide
links to it from appropriate places.
This commit is contained in:
Tom Hughes 2010-10-04 21:38:02 +01:00
parent 52e523cb0b
commit bddf524c88
6 changed files with 55 additions and 21 deletions

View file

@ -103,6 +103,8 @@ ActionController::Routing::Routes.draw do |map|
map.connect '/user/new', :controller => 'user', :action => 'new'
map.connect '/user/terms', :controller => 'user', :action => 'terms'
map.connect '/user/save', :controller => 'user', :action => 'save'
map.connect '/user/:display_name/confirm/resend', :controller => 'user', :action => 'confirm_resend'
map.connect '/user/:display_name/confirm', :controller => 'user', :action => 'confirm'
map.connect '/user/confirm', :controller => 'user', :action => 'confirm'
map.connect '/user/confirm-email', :controller => 'user', :action => 'confirm_email'
map.connect '/user/go_public', :controller => 'user', :action => 'go_public'