summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-24 14:41:08 -0500
committerMike Greiling <mike@pixelcog.com>2017-03-24 17:06:48 -0500
commit2bacc040d84085eaeb2c5943c6c2ed8ba54e8dee (patch)
treeb30cddceaff2be5ecb5a752737635fb9dc707c67 /app/helpers
parent470bba5cb91948abc3e4bce3927c7205ef918b3a (diff)
downloadgitlab-ce-2bacc040d84085eaeb2c5943c6c2ed8ba54e8dee.tar.gz
move links to browse issuables into sidebar
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/milestones_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/milestones_helper.rb b/app/helpers/milestones_helper.rb
index bd3f51fc658..c9e70faa52e 100644
--- a/app/helpers/milestones_helper.rb
+++ b/app/helpers/milestones_helper.rb
@@ -19,8 +19,8 @@ module MilestonesHelper
end
end
- def milestones_browse_issuables_path(milestone, type:)
- opts = { milestone_title: milestone.title }
+ def milestones_browse_issuables_path(milestone, state: nil, type:)
+ opts = { milestone_title: milestone.title, state: state }
if @project
polymorphic_path([@project.namespace.becomes(Namespace), @project, type], opts)