From 3f91e1a099346c9207914340ff8d0a8d5f08878e Mon Sep 17 00:00:00 2001 From: jomo Date: Tue, 21 Jun 2016 23:28:42 +0200 Subject: fix confirmation redirect --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index ff21d8c..0755c03 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -141,7 +141,7 @@ class UsersController < ApplicationController def resend_mail RedstonerMailer.register_mail(@user, false).deliver_now flash[:notice] = "Check your inbox for the confirmation mail." - redirect_to users_path(@user) + redirect_to user_path(@user) end def update -- cgit v1.2.3