From 49bc1cd6eb7b90b34c3f2f18f27743ccf2c4338d Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Mon, 18 Jul 2016 17:43:00 +0100 Subject: Updated how the label toggle gets the text Fixed some issues based on self-review --- app/helpers/milestones_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers/milestones_helper.rb') diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb index bc87ac32e3e..90f83f5fde5 100644 --- a/app/helpers/milestones_helper.rb +++ b/app/helpers/milestones_helper.rb @@ -48,7 +48,7 @@ module MilestonesHelper def milestones_filter_dropdown_path project = @target_project || @project - if @project + if project namespace_project_milestones_path(project.namespace, project, :json) else dashboard_milestones_path(:json) -- cgit v1.2.1