5c52b6b056
- Reload source frame with morphing. E.g: to deal with pagination or with the D&D placeholder - Decrease source counter with JS
11 lines
382 B
Ruby
11 lines
382 B
Ruby
class Columns::Cards::Drops::ColumnsController < ApplicationController
|
|
include ActionView::RecordIdentifier, CardScoped
|
|
|
|
def create
|
|
column = @card.collection.columns.find(params[:column_id])
|
|
@card.triage_into(column)
|
|
|
|
render turbo_stream: turbo_stream.replace(dom_id(column), partial: "collections/show/column", method: :morph, locals: { column: column })
|
|
end
|
|
end
|