00818697ef
Replacing the card container will reload the frame. Also, see https://github.com/basecamp/fizzy/commit/5b70320a6b64adf2d1e0be4bd7dc221a5ba80c95
16 lines
289 B
Ruby
16 lines
289 B
Ruby
class Cards::TriagesController < ApplicationController
|
|
include CardScoped
|
|
|
|
def create
|
|
column = @card.collection.columns.find(params[:column_id])
|
|
@card.triage_into(column)
|
|
|
|
redirect_to @card
|
|
end
|
|
|
|
def destroy
|
|
@card.send_back_to_triage
|
|
redirect_to @card
|
|
end
|
|
end
|