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: icons_controller.rb
    path of file: ./repos/motor-admin-rails/app/controllers/motor
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Motor
  class IconsController < ApiBaseController
    skip_authorization_check

    CACHE_STORE = ActiveSupport::Cache::MemoryStore.new

    def index
      data = CACHE_STORE.fetch('icons') do
        Motor::Assets.icons.map do |icon|
          svg = 
    
    def index
      data = CACHE_STORE.fetch('icons') do
        Motor::Assets.icons.map do |icon|
          svg = Motor::Assets.load_asset(icon, gzip: !Motor.development?)
          svg = ActiveSupport::Gzip.decompress(svg) unless Motor.development?

          [icon.split('/').last, svg]
        end
      end

      render json: { data: data }
    end