debian-mirror-gitlab/app/helpers/work_items_helper.rb
2023-05-27 22:25:52 +05:30

13 lines
410 B
Ruby

# frozen_string_literal: true
module WorkItemsHelper
def work_items_index_data(project)
{
full_path: project.full_path,
issues_list_path: project_issues_path(project),
register_path: new_user_registration_path(redirect_to_referer: 'yes'),
sign_in_path: new_session_path(:user, redirect_to_referer: 'yes'),
saved_replies_new_path: profile_saved_replies_path
}
end
end