BigW Consortium Gitlab

group_url_constrainer.rb 188 Bytes
class GroupUrlConstrainer
  def matches?(request)
    id = request.params[:id]

    return false unless DynamicPathValidator.valid?(id)

    Group.find_by_full_path(id).present?
  end
end