gitlabhq/app/helpers/dashboard_helper.rb

11 lines
234 B
Ruby
Raw Normal View History

2012-11-21 06:24:05 +01:00
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