Skip to content

Commit

Permalink
Add support for eager-loading kpop
Browse files Browse the repository at this point in the history
* On the Kpop::Engine we have set `config.eager_load_namespaces << Katalyst::Kpop` which requires `Katalyst::Kpop` module to include `eager_load!` method, provided by extending `ActiveSupport::Autoload`
  • Loading branch information
hasarindaKI authored and sfnelson committed Feb 22, 2024
1 parent 2928cdc commit b24e563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/katalyst/kpop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@

module Katalyst
module Kpop
extend ActiveSupport::Autoload
end
end

0 comments on commit b24e563

Please sign in to comment.