gitlab-org--gitlab-foss/app/helpers/milestones_helper.rb
2015-01-06 12:32:04 -08:00

9 lines
203 B
Ruby

module MilestonesHelper
def milestones_filter_path(opts = {})
if @project
project_milestones_path(@project, opts)
elsif @group
group_milestones_path(@group, opts)
end
end
end