782259a678
Previously when an item was `created`, we'd track the event, update the summary text, and broadcast the notifications. But now that we have a draft state, we shold do all of this when it's published instead.
9 lines
164 B
Ruby
9 lines
164 B
Ruby
class Bubbles::PublishesController < ApplicationController
|
|
include BubbleScoped, BucketScoped
|
|
|
|
def create
|
|
@bubble.publish
|
|
redirect_to @bubble
|
|
end
|
|
end
|