Merge pull request #20270 from botantony/formulary_no_autobump
formulary: make `no_autobump!` reason a symbol when needed
This commit is contained in:
commit
f5f64ce84c
@ -314,6 +314,7 @@ module Formulary
|
||||
end
|
||||
|
||||
if (because = json_formula["no_autobump_msg"])
|
||||
because = because.to_sym if NO_AUTOBUMP_REASONS_LIST.key?(because.to_sym)
|
||||
no_autobump!(because:)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user