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: invitations_controller.rb
    path of file: ./repos/forem/app/controllers/admin
    
    the code of the file until where you have to start completion: module Admin
  class InvitationsController < Admin::ApplicationController
    layout "admin"

    def index
      @invitations = Admin::UsersQu
    
    def configure_permitted_parameters
      devise_parameter_sanitizer.permit(:invite,
                                        keys: %i[email
                                                 name
                                                 username
                                                 custom_invite_subject
                                                 custom_invite_message
                                                 custom_invite_footnote
                                                 profile_image
                                                 registered])
    end