Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Nicer flash message on account creation.

  • Loading branch information...
commit b217c01f0aa57e8f93b61dcebc3b531c1cb4e139 1 parent da81761
@courtenay courtenay authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/users_controller.rb
View
4 app/controllers/users_controller.rb
@@ -22,8 +22,8 @@ def create
@user.save if @user.valid?
unless @user.new_record?
@user.register!
- redirect_back_or_default('/')
- flash[:notice] = "Thanks for signing up!"
+ redirect_back_or_default('/login')
+ flash[:notice] = "Thanks for signing up! Please click the link in your email to activate your account"
else
render :action => 'new'
end
Please sign in to comment.
Something went wrong with that request. Please try again.