Module: WorkItemsHelper
- Defined in:
- app/helpers/work_items_helper.rb
Instance Method Summary collapse
Instance Method Details
#work_items_index_data(project) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/work_items_helper.rb', line 4 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'), new_comment_template_path: profile_comment_templates_path, report_abuse_path: add_category_abuse_reports_path } end |
#work_items_list_data(group) ⇒ Object
15 16 17 18 19 |
# File 'app/helpers/work_items_helper.rb', line 15 def work_items_list_data(group) { full_path: group.full_path } end |