BigW Consortium Gitlab

group_url_constrainer.rb 162 Bytes
Newer Older
1 2 3 4 5 6 7
require 'constraints/namespace_url_constrainer'

class GroupUrlConstrainer < NamespaceUrlConstrainer
  def find_resource(id)
    Group.find_by_path(id)
  end
end