Skip to content

Commit 88b4791

Browse files
committed
Fix issue with allow_create
1 parent 28daa2e commit 88b4791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/concerns/json_api_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def forbidden_filters
391391
# allow_create
392392
# end
393393
#
394-
def allow_create(controller_attributes)
394+
def allow_create(controller_attributes: nil)
395395
hash = strong_attributes
396396
.merge(strong_relationships)
397397
.merge(controller_attributes)

0 commit comments

Comments
 (0)