Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dashboard_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b73c1c1e1c24f3cf6f9d480749f972de76bdc118 (plain)
1
2
3
4
5
6
7
8
9
10
module DashboardHelper
  def dashboard_filter_path(entity, options={})
    case entity
    when 'issue' then
      dashboard_issues_path(options)
    when 'merge_request'
      dashboard_merge_requests_path(options)
    end
  end
end