blob: 48a33690cb27bf19517f567e9b30505e878e5385 (
plain)
1
2
3
4
5
6
7
8
9
|
class GroupUrlConstrainer
def matches?(request)
id = request.params[:id]
return false unless DynamicPathValidator.valid_full_path?(id)
Group.find_by_full_path(id).present?
end
end
|