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
|
@aspects_with_person = @contact.aspects
|
||||||
end
|
end
|
||||||
|
|
||||||
@aspects_without_person = @all_aspects.reject do |aspect|
|
@aspects_without_person = @all_aspects - @aspects_with_person
|
||||||
@aspects_with_person.include?(aspect)
|
|
||||||
end
|
|
||||||
|
|
||||||
render :layout => nil
|
render :layout => nil
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue