diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-11-11 12:49:16 +0100 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2015-11-19 17:58:53 -0500 |
commit | 01bc01afe924c6473c502ca033502dae5b8f932f (patch) | |
tree | 469ed20e40a76707f83eecff9fc1cdb8d0c8008b | |
parent | 3c38478452388fba53bb23686f5c83f88dec4d21 (diff) | |
download | gitlab-ce-01bc01afe924c6473c502ca033502dae5b8f932f.tar.gz |
Removed trailing whitespace from IssuableFinder
-rw-r--r-- | app/finders/issuable_finder.rb | 4 |
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 |