You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: attendees_controller.rb
    path of file: ./repos/circulate/app/controllers/volunteer
    
    the code of the file until where you have to start completion: module Volunteer
  class AttendeesController < BaseController
    include ShiftsHelper
    include Calend
    
    def destroy
      if signed_in_via_google?
        @event = Event.volunteer_shifts.find(params[:id])
        event_remove_signup(@event.calendar_event_id)
      else
        redirect_to volunteer_shifts_url, error: "You must be logged in", status: :see_other
      end