Repository navigation
v1.0.7 - Fix Dashboard MissingExactTemplate error
Bug Fix
This release properly fixes the Dashboard views not being found (MissingExactTemplate error).
Changes
- Moved views from
lib/toapp/views/(standard Rails engine structure) - Added
prepend_view_path Engine.root.join("app", "views")to ApplicationController - Updated gemspec to include
app/**/*in files array - Fixed layout path reference to
solid_queue_autoscaler/dashboard
The Fix
Rails engines with isolate_namespace don't automatically propagate view paths to controllers. The fix explicitly adds the engine's view paths to the ApplicationController.
Installation
gem "solid_queue_autoscaler", "~> 1.0.7"