[openstreetmap/openstreetmap-website] Add Communities page (#3301)

Andy Allan notifications at github.com
Thu Nov 11 15:19:11 UTC 2021


I had a look at this yesterday, but I ran out of time before having anything to share. For the initializers, we have [config/initializers/banners.rb](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/initializers/banners.rb) that loads data from a yaml file (albeit it doesn't freeze the result, which we should really do for constants). But I got sidetracked investigating other approaches than using global constants.

I also had a brief look at ways of loading data into the i18n system, but again I don't have anything to share yet. I'll be working on both of these next time I get the chance (unless someone else beats me to it!).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3301#issuecomment-966387258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20211111/5bd9f61f/attachment.htm>


More information about the rails-dev mailing list