refactor of a line
This commit is contained in:
parent
ba779e18d6
commit
25671f07c7
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue