Skip to content

Instantly share code, notes, and snippets.

@balvig
Last active April 24, 2019 06:52
Show Gist options
  • Save balvig/42a122244e06a3940587e0c569c671a1 to your computer and use it in GitHub Desktop.
Save balvig/42a122244e06a3940587e0c569c671a1 to your computer and use it in GitHub Desktop.
class EventsController < ApplicationController
def index
+ @events = [Event.new]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment