Commit b06f7a03 authored by Justin Ho's avatar Justin Ho

Update link to edit integration

- Fix breadcrumb on the edit page to link back to
listing page
parent 5e5cdaec
......@@ -62,6 +62,10 @@ module ServicesHelper
!current_controller?("admin/services") && service.deprecated?
end
def edit_integration_path(integration)
edit_admin_application_settings_integration_path(integration)
end
extend self
end
......
- add_to_breadcrumbs _('Integrations'), admin_application_settings_integration_path
- add_to_breadcrumbs _('Integrations'), integrations_admin_application_settings_path
- breadcrumb_title @service.title
- page_title @service.title, _('Integrations')
......
......@@ -17,7 +17,7 @@
%td{ role: 'cell', 'aria-colindex': 1 }
= boolean_to_icon integration.activated?
%td{ role: 'cell', 'aria-colindex': 2 }
= link_to '#' do
= link_to edit_integration_path(integration) do
%strong= integration.title
%td.d-none.d-sm-block{ role: 'cell', 'aria-colindex': 3 }
= integration.description
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment