2020-07-23 05:09:18 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Projects::IncidentsHelper
|
|
|
|
def incidents_data(project)
|
|
|
|
{
|
2020-07-24 20:09:23 -04:00
|
|
|
'project-path' => project.full_path,
|
|
|
|
'new-issue-path' => new_project_issue_path(project),
|
|
|
|
'incident-template-name' => 'incident'
|
2020-07-23 05:09:18 -04:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|