14 lines
219 B
Ruby
14 lines
219 B
Ruby
class Bubbles::PopsController < ApplicationController
|
|
include BubbleScoped, BucketScoped
|
|
|
|
def create
|
|
@bubble.pop!
|
|
redirect_to @bubble
|
|
end
|
|
|
|
def destroy
|
|
@bubble.unpop
|
|
redirect_to @bubble
|
|
end
|
|
end
|