module Attachments
  class BaseController < ApplicationController
  end
  TrackedEvent::Scaffold.class_eval do
    # Tracking definition for hosted_image_create events
    #
    # @param [String] filename the uploaded image's filename
    #
    # @return (see TrackedEvent::Scaffold#build)
    #
    def admin_panel_hosted_image_create(filename:)
      build(context: binding)
    end
  end
end
