summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-01-15 11:10:27 +0000
committerPhil Hughes <me@iamphill.com>2016-01-30 16:01:49 +0000
commite79b5ff9d65b5a872bfc69649441d6262ac76b4d (patch)
treea9d40ff1f9a162435d9ca926f86610262ac31fa4
parent60139345403fe2ddeed27a49582800b365606e2c (diff)
downloadgitlab-ce-e79b5ff9d65b5a872bfc69649441d6262ac76b4d.tar.gz
removed un-used variable
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 6c66d0f7251..705d1e786f4 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -54,8 +54,6 @@ module ProjectsHelper
link_to(simple_sanitize(owner.name), user_path(owner))
end
- all_projects = current_user.authorized_projects.sorted_by_activity.non_archived if current_user
-
project_link = link_to project_path(project), {class: "project-item-select-holder #{"js-projects-dropdown-toggle" if current_user}"} do
link_output = simple_sanitize(project.name)
link_output += content_tag :span, nil, {class: "fa fa-chevron-down dropdown-toggle-caret"} if current_user