mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user