summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-21 15:31:49 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-21 15:31:49 +0200
commitbd7863dbeffc2d5b41a58f8138e5691b60fc63f3 (patch)
tree3694e458a866d9d55a224f2616cde5d8d49a1053 /app
parentb54f70cb35df91d51b7829a10b8294ae5f28b7f5 (diff)
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.
Diffstat (limited to 'app')
-rw-r--r--app/controllers/pages_controller.rb7
1 files changed, 0 insertions, 7 deletions
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
15 ) 15 )
16 end 16 end
17 end 17 end
18
19 def sort_images
20 page = Page.find(params[:id])
21 page.update_assets(params[:images])
22
23 head :ok
24 end
25end 18end