ff403021cc
- Introduces a distinct controller and individual forms for each option so they behave like other pop-ups - Adds `filter` and `navigable-list` behaviors
10 lines
225 B
Ruby
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
|