9 lines
197 B
Ruby
9 lines
197 B
Ruby
class CommentsController < ApplicationController
|
|
include BubbleScoped, BucketScoped
|
|
|
|
def create
|
|
@bubble.comments.create! params.expect(comment: [ :body ])
|
|
redirect_to @bubble
|
|
end
|
|
end
|