Skip to content

Commit

Permalink
Inherit explicit ApplicationController.
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
  • Loading branch information
Jack12816 committed Jan 9, 2025
1 parent 7b184ed commit c3dacde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### next

* TODO: Replace this bullet point with an actual description of a change.
* Sometimes the classic Rails autoloader is confused our engines
`RootController` does not inherit our engines `ApplicationController`, but
the one from host application, so we specify our dependency explicitly (#26)

### 1.5.0 (7 January 2025)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module FactoryBot
module Instrumentation
# The Instrumentation engine controller with frontend and API actions.
class RootController < ApplicationController
class RootController < FactoryBot::Instrumentation::ApplicationController
# Show the instrumentation frontend which features the output of
# configured dynamic seeds scenarios. The frontend allows humans to
# generate new seed data on the fly.
Expand Down

0 comments on commit c3dacde

Please sign in to comment.