```ruby
class ConfirmationsController < Devise::ConfirmationsController
  private
  def after_confirmation_path_for(resource_name, resource)
    #After the account is confirme, it should redirec to this
  end
end```

Fix error after user confirms account
user
```ruby
class ConfirmationsController < Devise::ConfirmationsController
  private
  def after_confirmation_path_for(resource_name, resource)
    root_path
  end
end```
assistant