Change
This commit is contained in:
parent
7beca24a05
commit
645e4a3586
|
@ -1,7 +1,11 @@
|
|||
require 'uri'
|
||||
require 'net/http'
|
||||
|
||||
class SyncForgeProjectsRake
|
||||
# 运行示例: 检查哪些项目的repo不存在,bundle exec rails runner "SyncForgeProjectsRake.new.call()"
|
||||
|
||||
def call
|
||||
|
||||
|
||||
end
|
||||
end
|
|
@ -19,6 +19,7 @@ Rails.application.routes.draw do
|
|||
resources :sync_forge, only: [:create] do
|
||||
collection do
|
||||
post :sync_users
|
||||
post :sync_projects
|
||||
end
|
||||
end
|
||||
resources :composes do
|
||||
|
|
Loading…
Reference in New Issue