Skip to content

Commit d701849

Browse files
committed
Make rubocop happy.
1 parent b531b29 commit d701849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsonapi/rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def self.add_errors_renderer!
4747
) unless resource.is_a?(ActiveModel::Errors)
4848

4949
errors = []
50-
model = resource.instance_variable_get('@base')
50+
model = resource.instance_variable_get(:@base)
5151

5252
if respond_to?(:jsonapi_serializer_class, true)
5353
model_serializer = jsonapi_serializer_class(model, false)

0 commit comments

Comments
 (0)