From bd7863dbeffc2d5b41a58f8138e5691b60fc63f3 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 21 Jul 2026 15:31:49 +0200 Subject: Remove unreachable image_box drag-and-drop UI image_interface and meta_data (admin_interface.js), the sort_images action and route, and their admin.css rules -- the old vertical image_browser sidebar this all depended on isn't rendered by any current view. related_assets.js and the star-toggle sidebar fully supersede what this did. Confirmed unreachable via full grep across app/, config/routes.rb, and admin_bundle.js before removal -- route, controller action, and JS handler were all individually real and functional, just with nothing left anywhere that could ever trigger them. --- config/routes.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 6ddf48c..20602f7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -30,7 +30,6 @@ Cccms::Application.routes.draw do end get 'pages/:id/preview', to: 'pages#preview', as: :preview_page - put 'pages/:id/sort_images', to: 'pages#sort_images', as: :sort_images_page get 'preview/:token', to: 'shared_previews#show', as: :shared_preview -- cgit v1.3