Removed trailing whitespace from IssuableFinder
This commit is contained in:
parent
45840426a7
commit
c232a0f97f
|
@ -62,10 +62,10 @@ class IssuableFinder
|
||||||
|
|
||||||
if project?
|
if project?
|
||||||
@project = Project.find(params[:project_id])
|
@project = Project.find(params[:project_id])
|
||||||
|
|
||||||
unless Ability.abilities.allowed?(current_user, :read_project, @project)
|
unless Ability.abilities.allowed?(current_user, :read_project, @project)
|
||||||
@project = nil
|
@project = nil
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@project = nil
|
@project = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue