diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/general-example | 5 | ||||
-rw-r--r-- | config/routes.rb | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/config/general-example b/config/general-example index ad5bd117b..6e8f3e0bb 100644 --- a/config/general-example +++ b/config/general-example @@ -14,7 +14,7 @@ * Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. * Email: francis@mysociety.org; WWW: http://www.mysociety.org * - * $Id: general-example,v 1.2 2007-10-26 18:00:27 francis Exp $ + * $Id: general-example,v 1.3 2007-11-05 16:46:11 francis Exp $ * */ @@ -26,5 +26,8 @@ define('OPTION_INCOMING_EMAIL_DOMAIN', 'localhost'); // e.g. 'foifa.com' define('OPTION_INCOMING_EMAIL_PREFIX', ''); // e.g. 'foi+' define('OPTION_INCOMING_EMAIL_SECRET', 'xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx'); // Used for hash in request email address +// Administration +define('OPTION_CONTACT_EMAIL', 'admin@localhost'); + ?> diff --git a/config/routes.rb b/config/routes.rb index 66740a58a..cb235172f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: routes.rb,v 1.19 2007-10-30 18:52:27 francis Exp $ +# $Id: routes.rb,v 1.20 2007-11-05 16:46:11 francis Exp $ ActionController::Routing::Routes.draw do |map| # The priority is based upon order of creation: first created -> highest priority. @@ -25,6 +25,7 @@ ActionController::Routing::Routes.draw do |map| user.signin '/signin', :action => 'signin' user.signup '/signup', :action => 'signup' user.signout '/signout', :action => 'signout' + user.confirm '/c/:email_token', :action => 'confirm' user.show_user "/user/:simple_name", :action => 'show' end |