Class: RailsLiveDashboard::Request

Inherits:
Entry show all
Defined in:
app/models/rails_live_dashboard/request.rb

Instance Method Summary collapse

Instance Method Details

#turbo_stream?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'app/models/rails_live_dashboard/request.rb', line 9

def turbo_stream?
  content.format == 'turbo_stream'
end