Fix constant

This commit is contained in:
David Heinemeier Hansson
2025-04-13 20:36:07 +02:00
parent 34232c0e31
commit e8a730c239
+1 -1
View File
@@ -3,7 +3,7 @@ class Cards::StagingsController < ApplicationController
def create
if params[:stage_id].present?
@card.toggle_stage Stage.find(params[:stage_id])
@card.toggle_stage Workflow::Stage.find(params[:stage_id])
else
@card.update!(stage: nil)
end