Files
fizzy/app/controllers/columns/cards/drops/streams_controller.rb
T
2025-10-16 14:30:37 +02:00

11 lines
421 B
Ruby

class Columns::Cards::Drops::StreamsController < ApplicationController
include CardScoped
def create
@card.send_back_to_triage
set_page_and_extract_portion_from @collection.cards.awaiting_triage.by_last_activity.with_golden_first
render turbo_stream: turbo_stream.replace("the-stream", partial: "collections/show/stream", method: :morph, locals: { collection: @card.collection, page: @page })
end
end