Dashboard filters for events

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 08:24:05 +03:00
parent 899afd0067
commit 23734a715e
7 changed files with 130 additions and 33 deletions

View file

@ -0,0 +1,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