json.extract! code_link, :id, :link, :code_link_type_id, :description, :created_at, :updated_at json.url code_link_url(code_link, format: :json)