Already comes as a hash
This commit is contained in:
@@ -2,7 +2,7 @@ class CommentsController < ApplicationController
|
||||
include BubbleScoped, BucketScoped
|
||||
|
||||
def create
|
||||
@bubble.comments.create! body: params.expect(comment: [ :body ])
|
||||
@bubble.comments.create! params.expect(comment: [ :body ])
|
||||
redirect_to @bubble
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user