You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Albeit the mention of setting the base controller, I was trying to define a contraint while mounting the engine. mount MissionControl::Jobs::Engine, at: "jobs", constraints: AdminConstraint.new
which fails because <ActionDispatch::Request::Session:0x72ba0 not yet loaded>
I don't know if it's a limit of Rails engine (it used to work with Sidekiq dashboard though) or if there is some loading logic to change to make it work. Is that something that can be envisioned? Thanks
The text was updated successfully, but these errors were encountered:
I came here looking for a response to this. Sidekiq has a really nice use method that allows you to drop in middleware. It would be helpful for attaching the Rack Basic Auth in case I'm in charge of debugging a site I don't have an account for. It looks like:
Hey,
Albeit the mention of setting the base controller, I was trying to define a contraint while mounting the engine.
mount MissionControl::Jobs::Engine, at: "jobs", constraints: AdminConstraint.new
which fails because
<ActionDispatch::Request::Session:0x72ba0 not yet loaded>
I don't know if it's a limit of Rails engine (it used to work with Sidekiq dashboard though) or if there is some loading logic to change to make it work. Is that something that can be envisioned? Thanks
The text was updated successfully, but these errors were encountered: