Skip to content

Use Gitlab::CurrentSettings in UrlValidator

Thong Kuah requested to merge use_gitlab_current_settings into master

What does this MR do?

Use Gitlab::CurrentSettings in UrlValidator.

Gitlab::CurrentSettings will create ApplicationSetting.current if not present which means we don't have to use &.. We can also more easily use stub_application_setting in specs

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports