aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/packages/added.html.erb')
-rw-r--r--app/views/packages/added.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/packages/added.html.erb b/app/views/packages/added.html.erb
index 97d5cb6..589226a 100644
--- a/app/views/packages/added.html.erb
+++ b/app/views/packages/added.html.erb
@@ -12,7 +12,7 @@
<% cache("added-full-#{@changes.hash}") do %>
<ul class="list-group">
<% @changes.each do |change|
- _package = Package.find_by(:atom, cp_to_atom(change.category, change.package)) %>
+ _package = PackageRepository.find_by(:atom, cp_to_atom(change.category, change.package)) %>
<%= render partial: 'changed_package', object: change, as: 'change', locals: { package: _package, version: _package.latest_version } %>
<% end %>
</ul>