diff --git a/app/helpers/aspect_global_helper.rb b/app/helpers/aspect_global_helper.rb index cf509e6d4..9b38b7a09 100644 --- a/app/helpers/aspect_global_helper.rb +++ b/app/helpers/aspect_global_helper.rb @@ -66,7 +66,7 @@ module AspectGlobalHelper end def aspect_membership_dropdown(contact, person, hang, aspect=nil) - selected_aspects = all_aspects.select{|aspect| contact.in_aspect?(aspect.id) } + selected_aspects = all_aspects.select{|aspect| contact.in_aspect?(aspect) } render "shared/aspect_dropdown", :selected_aspects => selected_aspects, diff --git a/app/views/people/aspect_membership_dropdown.haml b/app/views/people/_aspect_membership_dropdown.haml similarity index 100% rename from app/views/people/aspect_membership_dropdown.haml rename to app/views/people/_aspect_membership_dropdown.haml