summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-11 12:49:16 +0100
committerRubén Dávila <ruben@gitlab.com>2015-11-19 17:58:53 -0500
commit01bc01afe924c6473c502ca033502dae5b8f932f (patch)
tree469ed20e40a76707f83eecff9fc1cdb8d0c8008b
parent3c38478452388fba53bb23686f5c83f88dec4d21 (diff)
downloadgitlab-ce-01bc01afe924c6473c502ca033502dae5b8f932f.tar.gz
Removed trailing whitespace from IssuableFinder
-rw-r--r--app/finders/issuable_finder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb
index c407dfc163a..30ec8f60098 100644
--- a/app/finders/issuable_finder.rb
+++ b/app/finders/issuable_finder.rb
@@ -62,10 +62,10 @@ class IssuableFinder
if project?
@project = Project.find(params[:project_id])
-
+
unless Ability.abilities.allowed?(current_user, :read_project, @project)
@project = nil
- end
+ end
else
@project = nil
end