```ruby
class UserConfirmationsController < Devise::ConfirmationsController

  protected

  def after_confirmation_path_for(resource_name, resource)
    sign_in resource
    UserMailer.delay.getting_started(resource.id).deliver
    account_confirmation_path
  end

  def after_resending_confirmation_instructions_path_for(resource_name)
    root_path
  end
end```

Fix delayed e-mail delivery bug for on boarding e-mail
user
```ruby
class UserConfirmationsController < Devise::ConfirmationsController

  protected

  def after_confirmation_path_for(resource_name, resource)
    sign_in resource
    UserMailer.delay.getting_started(resource.id)
    account_confirmation_path
  end

  def after_resending_confirmation_instructions_path_for(resource_name)
    root_path
  end
end```
assistant