fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated (#5560)
fixes the warning: Rendering actions with '.' in the name is deprecated
This commit is contained in:
committed by
GitHub
parent
cd4c1ef27e
commit
bd445216e9
@@ -1,3 +1,3 @@
|
||||
json.data do
|
||||
json.partial! 'api/v1/models/user.json.jbuilder', resource: resource
|
||||
json.partial! 'api/v1/models/user', formats: [:json], resource: resource
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
json.payload do
|
||||
json.success true
|
||||
json.partial! 'auth.json.jbuilder', resource: @resource
|
||||
json.partial! 'auth', formats: [:json], resource: @resource
|
||||
json.data do
|
||||
json.created_at @resource.created_at
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user