I had an odd issue.
I've mounted rollout_ui like so:
mount RolloutUi::Engine => "/rolloutui", as: "rollout"
On my dev machine if i've started server and opened /rolloutui url first(before accessing any other url on my site) i have no problem, but if i've opened any site url before and tried to access /rolloutui afterwards then rollout_ui tried to hook my application layout instead of his own. Provided code fixes problem for me.
I had an odd issue. I've mounted rollout_ui like so:
On my dev machine if i've started server and opened /rolloutui url first(before accessing any other url on my site) i have no problem, but if i've opened any site url before and tried to access /rolloutui afterwards then rollout_ui tried to hook my application layout instead of his own. Provided code fixes problem for me.
rails 3.2.3 ruby 1.9.3p194