Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_url_constrainer.rb « constraints « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca39b1961ae0d015594ed2244e2a37e388d97d32 (plain)
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