Commit 25671f07 authored by zhitomirskiyi's avatar zhitomirskiyi

refactor of a line

parent ba779e18
...@@ -94,9 +94,7 @@ class PeopleController < ApplicationController ...@@ -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
......
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