This commit is contained in:
Jorge Manrubia
2025-09-26 11:17:20 +02:00
parent aa9d7664ef
commit 028e15cfca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ class Cards::TriagesController < ApplicationController
def create
column = @card.collection.columns.find(params[:column_id])
@card.triage_to(column)
@card.triage_into(column)
render_card_replacement
end
+1 -1
View File
@@ -16,7 +16,7 @@ module Card::Triageable
active? && !triaged?
end
def triage_to(column)
def triage_into(column)
raise "The column must belong to the card collection" unless collection == column.collection
update! column: column
end