Commit bdeb37d37133af8ca62cdf02f4e71520602b3ecb
Committed by
Tallys Martins
1 parent
65f294e1
Exists in
master
and in
29 other branches
Fixed redirecting after signup.
(AI3036) Signed-off-by: André Bernardes <andrebsguedes@gmail.com> Signed-off-by: Hebert Douglas <hebertdougl@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/public/account_controller.rb
@@ -34,6 +34,7 @@ class AccountController < ApplicationController | @@ -34,6 +34,7 @@ class AccountController < ApplicationController | ||
34 | @register_pending = true | 34 | @register_pending = true |
35 | @user.activation_code = nil | 35 | @user.activation_code = nil |
36 | @user.save! | 36 | @user.save! |
37 | + redirect_to :controller => :home | ||
37 | end | 38 | end |
38 | end | 39 | end |
39 | else | 40 | else |