summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-27 21:43:55 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-27 21:43:55 +0200
commit8957808536e53bb9329cb6ae12835fde7835210b (patch)
tree4bcb4fe279ecd78f8c138f06aec62174beea24aa /app/controllers
parenta627a650fda4e22107245a3269465347bb778258 (diff)
Stage 7 click-testing fixes (2)
- nodes_controller: permit staged_slug and staged_parent_id in node params; these were silently dropped since strong parameters migration, breaking the two-phase slug/parent change workflow - file_attachment: add SVG support; vector files are copied to all style directories without rasterisation, preserving scalability in the browser - assets index/show: constrain image display with max-width/max-height via admin.css td img rule; fixes oversized SVG thumbnails while leaving raster variants unaffected
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/nodes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/nodes_controller.rb b/app/controllers/nodes_controller.rb
index bd60b27..494887d 100644
--- a/app/controllers/nodes_controller.rb
+++ b/app/controllers/nodes_controller.rb
@@ -107,7 +107,7 @@ class NodesController < ApplicationController
107 private 107 private
108 108
109 def node_params 109 def node_params
110 params.fetch(:node, {}).permit(:slug, :parent_id) 110 params.fetch(:node, {}).permit(:slug, :parent_id, :staged_slug, :staged_parent_id)
111 end 111 end
112 112
113 def page_params 113 def page_params