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. --- app/controllers/pages_controller.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'app') diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 2d08dea..0b7e98f 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -15,11 +15,4 @@ class PagesController < ApplicationController ) end end - - def sort_images - page = Page.find(params[:id]) - page.update_assets(params[:images]) - - head :ok - end end -- cgit v1.3