11 lines
421 B
Ruby
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
|