diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-24 22:41:08 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-25 01:06:48 +0300 |
commit | 2bacc040d84085eaeb2c5943c6c2ed8ba54e8dee (patch) | |
tree | b30cddceaff2be5ecb5a752737635fb9dc707c67 /app/helpers/milestones_helper.rb | |
parent | 470bba5cb91948abc3e4bce3927c7205ef918b3a (diff) |
move links to browse issuables into sidebar
Diffstat (limited to 'app/helpers/milestones_helper.rb')
-rw-r--r-- | app/helpers/milestones_helper.rb | 4 |
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) |