correct signup workflow

This commit is contained in:
saurabhbhatia 2013-11-29 19:00:32 +08:00
parent b10a2edc22
commit 7cfd9080e8
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,7 @@
class RegistrationsController < Devise::RegistrationsController
layout "devise"
def after_sign_up_path_for(resource)
def after_inactive_sign_up_path_for(resource)
basic_infos_confirmation_path
end
end

View File

@ -1,11 +1,6 @@
<%= stylesheet_link_tag "sign_up" %>
<section id="main-wrap">
<div class="sign-up have-other-sign-in facebook-form">
<% flash.each do |key, msg| %>
<%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %>
<% end %>
<div class="form">
<h3 class="login-logo">Thank you for registering.</h3>
<div class="form-block">