Files
fizzy/app/controllers/bubbles/engagements_controller.rb
T
David Heinemeier Hansson f725a69dee Let BubbleScoped find its own bucket
Then it will be easier to break things that are double nested out of
that nesting.
2025-04-05 15:44:47 +02:00

14 lines
219 B
Ruby

class Bubbles::EngagementsController < ApplicationController
include BubbleScoped
def create
@bubble.engage
redirect_to @bubble
end
def destroy
@bubble.reconsider
redirect_to @bubble
end
end