Añade el plugin Redmine Git Server 0.4

This commit is contained in:
Manuel Cillero 2021-05-14 16:45:54 +02:00
parent 525527a55b
commit 4b46a7472e
30 changed files with 485 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Grack::App::ROUTES.each do |grack_route|
regex = grack_route[0]
method = grack_route[1].downcase.to_sym
action = grack_route[2]
match 'projects/:id/repository/:repository_id/*path',
controller: 'git_server',
action: action,
via: method,
format: false,
constraints: -> (request) {
regex.match(request.path)
}
end