Yet another typo regarding the usage of URL creation
This commit is contained in:
parent
59644078a3
commit
85b9f1014f
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
json.cache! ['json_packages'], expires_in: 1.hour do
|
||||
json.packages @p do |p|
|
||||
json.extract! p, :maintainer, :name, :section, :maintainer_email, :homepage, :description
|
||||
json.url url_for(p, protocol: 'https')
|
||||
json.url package_url(p.name, protocol: 'https')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue