Closed mikefowler closed 10 years ago
Attn @jonmagic, if you're around today.
A few small notes, looking great! Also :heart: the newsletter that went out today, looked great and the content was great.
Made suggested edits, @jonmagic. Press the magic button for me when verified.
Additional note: it seems like tests related to newsletter are failing, at least on my environment. Something off with my ENV setup or what?
Adds the ability to display multiple upcoming events on the homepage. In our case, and as implemented by these changes, we will display 2 upcoming events. The static
Event.upcoming
method now accepts a parameter,count
, to support returning multiple upcoming events.count
defaults to 1. Adds or updates appropriate tests, and slightly changes view logic in thehome/index.html.erb
view.