Skip to content

Commit a3a2a7a

Browse files
authored
Implement allow_transactions feature (#1410)
You have a configuration option`allow_transactions`, but looks like implementation is missing.
1 parent a2e8ad5 commit a3a2a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsonapi/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def transactional?
3434
when 'index', 'show_related_resource', 'index_related_resources', 'show', 'show_relationship'
3535
false
3636
else
37-
true
37+
JSONAPI.configuration.allow_transactions
3838
end
3939
end
4040

0 commit comments

Comments
 (0)