Dashboard to resource
This commit is contained in:
parent
bd3b677b86
commit
6b01196fb2
11 changed files with 45 additions and 32 deletions
|
@ -9,9 +9,9 @@ module DashboardHelper
|
|||
|
||||
case entity
|
||||
when 'issue' then
|
||||
dashboard_issues_path(options)
|
||||
issues_dashboard_path(options)
|
||||
when 'merge_request'
|
||||
dashboard_merge_requests_path(options)
|
||||
merge_requests_dashboard_path(options)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue