diff --git a/app/presenters/hyku/admin/group/navigation_presenter.rb b/app/presenters/hyku/admin/group/navigation_presenter.rb index 7afaf6a9c..416c23fa8 100644 --- a/app/presenters/hyku/admin/group/navigation_presenter.rb +++ b/app/presenters/hyku/admin/group/navigation_presenter.rb @@ -27,7 +27,7 @@ def edit_tab name: I18n.t('hyku.admin.groups.nav.attributes'), controller: 'admin/groups', action: 'edit', - path: Rails.application.routes.url_helpers.edit_admin_group_path(group_id), + path: Rails.application.routes.url_helpers.edit_admin_group_path(group_id, locale: I18n.locale), context: params ) end @@ -37,7 +37,7 @@ def members_tab name: I18n.t('hyku.admin.groups.nav.members'), controller: 'admin/group_users', action: 'index', - path: Rails.application.routes.url_helpers.admin_group_users_path(group_id), + path: Rails.application.routes.url_helpers.admin_group_users_path(group_id, locale: I18n.locale), context: params ) end @@ -47,7 +47,7 @@ def roles_tab name: I18n.t('hyku.admin.groups.nav.roles'), controller: 'admin/group_roles', action: 'index', - path: Rails.application.routes.url_helpers.admin_group_roles_path(group_id), + path: Rails.application.routes.url_helpers.admin_group_roles_path(group_id, locale: I18n.locale), context: params ) end @@ -57,7 +57,7 @@ def remove_tab name: I18n.t('hyku.admin.groups.nav.delete'), controller: 'admin/groups', action: 'remove', - path: Rails.application.routes.url_helpers.remove_admin_group_path(group_id), + path: Rails.application.routes.url_helpers.remove_admin_group_path(group_id, locale: I18n.locale), context: params ) end