Skip to content

Commit

Permalink
This somehow slipped my initial commit...
Browse files Browse the repository at this point in the history
  • Loading branch information
crutch committed Oct 7, 2023
1 parent fa03247 commit 9246c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/steps_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def update

@current_step = @journey.steps.find_by(slug: params[:id])
@user_step = @user_journey.user_steps.find_or_initialize_by(step: @current_step)
@user_step.update(status: params['status'])
@user_step.update_status(new_status: params['status'])

respond_to do |format|
format.html do
Expand Down

0 comments on commit 9246c27

Please sign in to comment.