Skip to content
代码片段 群组 项目
提交 a61764ba 编辑于 作者: Etienne Baqué's avatar Etienne Baqué
浏览文件

Merge branch 'ag/fix-storage-redirect' into 'master'

Update anchor on redirect

See merge request gitlab-org/gitlab!71361
No related branches found
No related tags found
无相关合并请求
......@@ -24,7 +24,7 @@ def buy_minutes_addon_data(group)
def buy_storage_addon_data(group)
{
redirect_after_success: group_usage_quotas_path(group, anchor: 'pipelines-quota-tab', purchased_product: _('Storage'))
redirect_after_success: group_usage_quotas_path(group, anchor: 'storage-quota-tab', purchased_product: _('Storage'))
}.merge(addon_data(group))
end
......
......@@ -183,6 +183,6 @@
it { is_expected.to include(namespace_id: group.id.to_s) }
it { is_expected.to include(source: 'some_source') }
it { is_expected.to include(group_data: %Q{[{"id":#{group.id},"name":"My Namespace","users":1,"guests":0}]}) }
it { is_expected.to include(redirect_after_success: group_usage_quotas_path(group, anchor: 'pipelines-quota-tab', purchased_product: 'Storage')) }
it { is_expected.to include(redirect_after_success: group_usage_quotas_path(group, anchor: 'storage-quota-tab', purchased_product: 'Storage')) }
end
end
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册