Class: MissionControl::Jobs::Theme::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/mission_control/jobs/theme/engine.rb

Overview

Wire theme middleware into the Mission Control Jobs engine stack.

Inserts Middleware directly onto MissionControl::Jobs::Engine‘s internal middleware stack so it runs exclusively for requests the Rails router dispatches to that engine. No path matching is performed here —Rails owns that determination, which makes the middleware correct under sub-URI deployments and for any host-app mount path.

Theme assets ship through Propshaft via the standard app/assets/ and vendor/assets/ conventions — this Engine’s asset paths are picked up automatically by the asset pipeline.