class EventsController < InheritedResources::Base
  before_filter :authenticate_ngo!, only: :new

end

class EventsController < ApplicationController
  before_filter :authenticate_ngo!, only: :new

  def new
    @event = Event.new
    #@event.shifts.build(volunteers_needed: 1, starts_at: Time.now, ends_at: 2.hours.from_now)
  end
end

Add a shift to our soon-to-be-created event
Add a shift to our soon-to-be-created event
