Typo fixed

This commit is contained in:
Christoph Haas 2016-07-19 20:48:44 +02:00
parent c719e35a09
commit 59644078a3

View file

@ -3,7 +3,7 @@ json.cache! ['json_screenshots'], expires_in: 1.hour do
p = s.package
json.extract! s, :version
json.extract! p, :maintainer, :name, :section, :maintainer_email, :homepage, :description
json.url url_for(p, protocol: 'https)
json.url url_for(p, protocol: 'https')
json.small_image_url "https://#{request.host_with_port}#{s.image.url(:thumb, timestamp: false)}"
json.large_image_url "https://#{request.host_with_port}#{s.image.url(:large, timestamp: false)}"
end