caseyli/capo — comment on commit ad0e6f2e4bb1aa0628951c74ac1a4aafbdc5734d
File: app/views/open_mics/show.html.erb line 27
By jduff:

Logic like this really belongs in the controller. Just assign ` @open_mic.posts.order(:updated_at).reverse_order.limit(5)` to `@posts` in the controller.