Dashboard filters for events
This commit is contained in:
parent
899afd0067
commit
23734a715e
7 changed files with 130 additions and 33 deletions
10
app/helpers/dashboard_helper.rb
Normal file
10
app/helpers/dashboard_helper.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue