diff --git a/app/services/git_service.rb b/app/services/git_service.rb index 8fad1d43d..eedac2595 100644 --- a/app/services/git_service.rb +++ b/app/services/git_service.rb @@ -8,7 +8,8 @@ class GitService class << self - ['add_repository', 'fork_repository', 'delete_repository', 'file_tree', 'update_file', 'file_content', 'commits', 'add_tree', 'delete_file', 'update_file_base64'].each do |method| + ['add_repository', 'fork_repository', 'delete_repository', 'file_tree', 'update_file', 'file_content', 'commits', + 'add_tree', 'delete_file', 'update_file_base64'].each do |method| define_method method do |params| post(method, params) end