6b90ccb9fd
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
7 lines
162 B
Ruby
7 lines
162 B
Ruby
require 'constraints/namespace_url_constrainer'
|
|
|
|
class GroupUrlConstrainer < NamespaceUrlConstrainer
|
|
def find_resource(id)
|
|
Group.find_by_path(id)
|
|
end
|
|
end
|