re-add large_image_url attribute that the UDD expects
This commit is contained in:
parent
0669198233
commit
8e95e4f9fd
1 changed files with 4 additions and 0 deletions
|
|
@ -10,5 +10,9 @@ json.screenshots @p.approved_screenshots do |s|
|
||||||
json.screenshot_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path(
|
json.screenshot_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path(
|
||||||
@p, s.id
|
@p, s.id
|
||||||
)}"
|
)}"
|
||||||
|
# backwards-compatibility for the UDD
|
||||||
|
json.large_image_url "#{request.protocol}#{request.host_with_port}#{screenshot_image_with_id_path(
|
||||||
|
@p, s.id
|
||||||
|
)}"
|
||||||
json.version s.version
|
json.version s.version
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue