• Thong Kuah's avatar
    Use Gitlab::CurrentSettings in UrlValidator · 8a1b6041
    Thong Kuah authored
    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
    8a1b6041
url_validator.rb 2.76 KB