# Image Studio — custom admin page for the Photoroom pipeline. # # Delivered as bind-mounted files rather than a rebuilt image: this deployment # runs the prebuilt ghcr.io/spree/spree image with no app code mounted, so any # custom file needs an explicit mount in docker-compose.yml. See the web # service's volumes block. # Routes live in config/routes.rb — see the note there. Rails.application.config.after_initialize do Spree.admin.navigation.sidebar.add :image_studio, label: 'Image Studio', url: :admin_image_studio_path, icon: 'photo', position: 35, active: -> { controller_name == 'image_studio' } end