diff --git a/app/views/organizations/adopter_fosterer/likes/index.html.erb b/app/views/organizations/adopter_fosterer/likes/index.html.erb index cd38ae895..448d09174 100644 --- a/app/views/organizations/adopter_fosterer/likes/index.html.erb +++ b/app/views/organizations/adopter_fosterer/likes/index.html.erb @@ -22,7 +22,7 @@ <%= pet.name %> <% end %> - <% if allowed_to?(:create?, Like, pet: pet) %> + <% if allowed_to?(:create?, Like, context: {pet: pet}) %>