From 915f60b0fc14f82c8fe38acfeb0dd8649628597c Mon Sep 17 00:00:00 2001 From: riking Date: Tue, 15 Jul 2014 10:47:47 -0700 Subject: [PATCH] Don't redirect to login when activating account... --- app/controllers/users_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 56e29ea0965..a794139ddb9 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -18,6 +18,7 @@ class UsersController < ApplicationController :create, :get_honeypot_value, :activate_account, + :perform_account_activation, :send_activation_email, :authorize_email, :password_reset] @@ -277,7 +278,7 @@ class UsersController < ApplicationController end def activate_account - expires_now() + expires_now render layout: 'no_js' end