[openstreetmap/openstreetmap-website] Prioritize next upcoming event in banner rotation (#1288)
notifications at github.com
Wed Sep 14 19:06:34 UTC 2016
This PR makes it so that if multiple banners are tied for queue position (e.g. if user is in incognito mode or just hasn't seen _any_ banners yet), we pick the banner with the soonest end date.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Prioritize next upcoming event in banner rotation
-- File Changes --
M app/helpers/banner_helper.rb (8)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev