```ruby
default_action && (has_errors? ? @flash_now == :on_failure : @flash_now == :on_success)
```