Files
fizzy/app/controllers/cards/collections_controller.rb
T
Jason Zimdars ff403021cc Wire-up keyboard navigation
- Introduces a distinct controller and individual forms for each option so they behave like other pop-ups
- Adds `filter` and `navigable-list` behaviors
2025-06-03 11:05:39 -05:00

10 lines
225 B
Ruby

module Cards
class CollectionsController < ApplicationController
def update
@card = Card.find(params[:card_id])
@card.update!(collection_id: params[:collection_id])
redirect_to @card
end
end
end