correct signup workflow
This commit is contained in:
parent
b10a2edc22
commit
7cfd9080e8
|
@ -1,6 +1,7 @@
|
||||||
class RegistrationsController < Devise::RegistrationsController
|
class RegistrationsController < Devise::RegistrationsController
|
||||||
layout "devise"
|
layout "devise"
|
||||||
def after_sign_up_path_for(resource)
|
|
||||||
|
def after_inactive_sign_up_path_for(resource)
|
||||||
basic_infos_confirmation_path
|
basic_infos_confirmation_path
|
||||||
end
|
end
|
||||||
end
|
end
|
|
@ -1,11 +1,6 @@
|
||||||
<%= stylesheet_link_tag "sign_up" %>
|
<%= stylesheet_link_tag "sign_up" %>
|
||||||
<section id="main-wrap">
|
<section id="main-wrap">
|
||||||
<div class="sign-up have-other-sign-in facebook-form">
|
<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">
|
<div class="form">
|
||||||
<h3 class="login-logo">Thank you for registering.</h3>
|
<h3 class="login-logo">Thank you for registering.</h3>
|
||||||
<div class="form-block">
|
<div class="form-block">
|
||||||
|
|
Reference in New Issue