refactor of a line

This commit is contained in:
zhitomirskiyi 2011-02-17 13:39:05 -08:00
parent ba779e18d6
commit 25671f07c7

View file

@ -94,9 +94,7 @@ class PeopleController < ApplicationController
@aspects_with_person = @contact.aspects
end
@aspects_without_person = @all_aspects.reject do |aspect|
@aspects_with_person.include?(aspect)
end
@aspects_without_person = @all_aspects - @aspects_with_person
render :layout => nil
end