]> git.openstreetmap.org Git - rails.git/commit
Move the i18n loading to an initializer
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Mar 2022 16:24:02 +0000 (16:24 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 2 Mar 2022 16:24:02 +0000 (16:24 +0000)
commite530d4f54dc7b2d0f37a5bae35efb81953995a2c
treef035cb5979dba6340205c625f612998076177401
parent1bcde09125777a0fd36ecb82a21deff558f4265a
Move the i18n loading to an initializer

Use after_initialize to avoid rails resetting the translations
app/controllers/site_controller.rb
config/initializers/osm_community_index.rb [new file with mode: 0644]