Skip to content

Commit

Permalink
Merge pull request #89 from hitobito/fix-feature-gate-override
Browse files Browse the repository at this point in the history
Change settings add source to before initialize
  • Loading branch information
Largo authored Oct 31, 2024
2 parents 26f269d + 79e5efc commit df56ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hitobito_youth/wagon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Wagon < Rails::Engine
end
# rubocop:enable Layout/LineLength

initializer "youth.add_settings" do |_app|
config.before_initialize do |_app|
Settings.add_source!(File.join(paths["config"].existent, "settings.yml"))
Settings.reload!
end
Expand Down

0 comments on commit df56ad9

Please sign in to comment.