Correct Dialog Close Button (#85)

* correct dialog#close -> DS--dialog#close

* additional ds-- add

* stop reload on close

* Added option for reload_on_close var

* Fix test to allow query param in redirect URL
This commit is contained in:
ByteBard
2025-08-08 09:05:03 +10:00
committed by GitHub
parent f6dde1a098
commit b7d9c89471
5 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ class RulesController < ApplicationController
@rule = Current.family.rules.build(rule_params)
if @rule.save
redirect_to confirm_rule_path(@rule)
redirect_to confirm_rule_path(@rule, reload_on_close: true)
else
render :new, status: :unprocessable_entity
end