Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Milan
diaspora
Commits
25671f07
Commit
25671f07
authored
Feb 17, 2011
by
zhitomirskiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor of a line
parent
ba779e18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
app/controllers/people_controller.rb
app/controllers/people_controller.rb
+1
-3
No files found.
app/controllers/people_controller.rb
View file @
25671f07
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment