a11yist/app/views/links/_link.json.jbuilder
david 63fc206c27
Some checks failed
/ Run tests (push) Successful in 8m56s
/ Run system tests (push) Failing after 1h0m48s
/ Build, push and deploy image (push) Successful in 7m47s
A lot :)
2024-09-05 22:54:38 +02:00

6 lines
248 B
Ruby

# frozen_string_literal: true
json.extract! link, :id, :url, :text, :description, :last_check_at, :fail_count, :link_category_id, :created_at,
:updated_at
json.url link_url(link, format: :json)
json.description link.description.to_s