Class: Plumbo::Middleware
- Inherits:
-
Object
- Object
- Plumbo::Middleware
- Defined in:
- lib/plumbo/middleware.rb
Overview
Rack middleware that, when enabled (development by default), watches a request's render events and adds the Plumbo panel to the response.
Every response that rendered app files carries an X-Plumbo-Files header (the file list, with Stimulus controllers nested in). Full HTML pages also get the panel injected before