Allow to reparent Quantity everywhere

Closes #61
This commit is contained in:
2025-01-14 15:57:12 +01:00
parent 8524beefdc
commit 201359de3e
4 changed files with 11 additions and 4 deletions

View File

@@ -43,6 +43,11 @@ class ApplicationController < ActionController::Base
private
def render_no_content(record)
helpers.render_errors(record)
render html: nil, layout: true
end
def rescue_turbo(exception)
raise unless request.format.to_sym == :turbo_stream