A lot :)
This commit is contained in:
parent
aad67af0d1
commit
63fc206c27
153 changed files with 2043 additions and 646 deletions
|
|
@ -1,3 +1,6 @@
|
|||
json.extract! link, :id, :url, :text, :description, :last_check_at, :fail_count, :link_category_id, :created_at, :updated_at
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
json.array! @links, partial: "links/link", as: :link
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
json.partial! "links/link", link: @link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue