Skip to content

Commit

Permalink
Fix engine load on Rails 7.1 #18
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Oct 6, 2023
1 parent 4012586 commit d6a9577
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/action_store/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,5 @@
module ActionStore
class Engine < ::Rails::Engine
isolate_namespace ActionStore

initializer "action_store.init_action", after: :load_config_initializers do
# Ensure eager_load Action model to init methods
require "action"
end
end
end

0 comments on commit d6a9577

Please sign in to comment.