Displaying 1 result from an estimated 1 matches for "after_inactive_sign_up_path_for".
2010 Dec 17
1
flash[;notice] not display after redirection
...active?
        set_flash_message :notice, :signed_up
        sign_in_and_redirect(resource_name, resource)
      else
        set_flash_message :notice, :inactive_signed_up, :reason =>
resource.inactive_message.to_s
        debugger
        expire_session_data_after_sign_in!
        redirect_to after_inactive_sign_up_path_for(resource)
      end
    else
      clean_up_passwords(resource)
      render_with_scope :new
    end
  end
the flash  notice is set ...  I checked it in the console:
>/users/registrations_controller.rb:27
>expire_session_data_after_sign_in!
>(rdb:2) flash {:notice=>"You have signe...