debian-mirror-gitlab/app/helpers/work_items_helper.rb

15 lines
475 B
Ruby
Raw Normal View History

2022-07-23 23:45:48 +05:30
# frozen_string_literal: true
module WorkItemsHelper
def work_items_index_data(project)
{
full_path: project.full_path,
2023-03-17 16:20:25 +05:30
issues_list_path: project_issues_path(project),
register_path: new_user_registration_path(redirect_to_referer: 'yes'),
2023-05-27 22:25:52 +05:30
sign_in_path: new_session_path(:user, redirect_to_referer: 'yes'),
2023-07-09 08:55:56 +05:30
new_comment_template_path: profile_comment_templates_path,
report_abuse_path: add_category_abuse_reports_path
2022-07-23 23:45:48 +05:30
}
end
end