We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1562c19 commit df6cdecCopy full SHA for df6cdec
lib/avalon/workflow/workflow_controller_behavior.rb
@@ -72,7 +72,8 @@ def update
72
flash.now[:error] = 'There are errors with your submission. Please correct them before continuing.'
73
74
# Refresh the context before rendering edit
75
- context = perform_step_action :before_step
+ context = HYDRANT_STEPS.get_step(@active_step).send(:before_step, context)
76
+ context_to_instance_variables context
77
custom_edit #yield to custom_edit in the controller
78
79
render :edit
0 commit comments