Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Simplify record jbuilder

Sign in for the full log view
GitHub Actions / StandardRB failed Jan 24, 2024 in 0s

StandardRB

1 offense(s) found

Annotations

Check failure on line 1 in app/views/api/v1/domains/records/_record.json.jbuilder

See this annotation in the file changed.

@github-actions github-actions / StandardRB

app/views/api/v1/domains/records/_record.json.jbuilder#L1

Prefer the use of `json.call(r, :id, :name, :content, :type, :ttl, :domain_id)` over `json.(r, :id, :name, :content, :type, :ttl, :domain_id)`.