David Kimura PRO said over 2 years ago on Multistep Form with Wicked :
  I would probably look into the redirect_to_finish_wizard method and redirect the user to a business steps controller which "repeats" the process but for the business domain. So, first gather the information about the user in the user steps controller and then redirect to the business steps controller where you can then gather that information. 

Marco De Rossi said over 2 years ago on Multistep Form with Wicked :
thanks

Marco De Rossi said over 2 years ago on Multistep Form with Wicked :
def verify_user_steps!
    return if devise_controller?
    return unless user_signed_in?
    return if current_user.terms
    redirect_to after_signup_path(:terms),notice: 'You most accept Terms and conditions.'
  end
This method works fine, but is a user type in the address bar   
http://localhost:3000/after_signup/terms
there are still presented with the terms and condition steps even if they had accepted the terms,How can we avoid that ?

AlkhabazHasan said over 2 years ago on Multistep Form with Wicked :
thanks, 
what if I want to use it with something other than user, let's say article with multistep ?

Login to Comment