Skip to content

Instantly share code, notes, and snippets.

@philwilt
Created February 18, 2016 00:20
Show Gist options
  • Save philwilt/3fc728b21f95bf649c92 to your computer and use it in GitHub Desktop.
Save philwilt/3fc728b21f95bf649c92 to your computer and use it in GitHub Desktop.
class EventsController < ApplicationController
def index
@events = Event.all.reverse
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment