aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/package.rb b/app/models/package.rb
index b6e86fe..7ad3cbe 100644
--- a/app/models/package.rb
+++ b/app/models/package.rb
@@ -44,7 +44,7 @@ class Package
end
def versions
- @versions ||= Version.find_all_by(:package, name, sort: { sort_key: { order: 'asc' } })
+ @versions ||= Version.find_all_by(:package, atom, sort: { sort_key: { order: 'asc' } })
end
def latest_version