Commit 25671f07 authored by zhitomirskiyi's avatar zhitomirskiyi

refactor of a line

parent ba779e18
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment