anthonymidili/Bullhorn

View on GitHub
app/views/directs/destroy.turbo_stream.haml

Summary

Maintainability
Test Coverage
- if @from_show == "true"
  - flash[:notice] = "Direct message was successfully destroyed."
  = turbo_stream.action :redirect, directs_url
- else
  = turbo_stream.remove @direct