Commit 7547d6b6 authored by anna_vovchenko's avatar anna_vovchenko Committed by charlie ablett

Applied suggestions after the BE review

parent 80cf553a
......@@ -112,10 +112,10 @@ module ClustersHelper
private
def default_branch_name(clusterable)
return clusterable.default_branch if clusterable.is_a?(Project)
clusterable.default_branch if clusterable.is_a?(Project)
end
def clusterable_project_path(clusterable)
return clusterable.full_path if clusterable.is_a?(Project)
clusterable.full_path if clusterable.is_a?(Project)
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