mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 09:45:57 +08:00
新增: gitea-client引入以及路由定义
This commit is contained in:
2
app/controllers/api/v1/base_controller.rb
Normal file
2
app/controllers/api/v1/base_controller.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class Api::V1::BaseController < ApplicationController
|
||||
end
|
||||
6
app/controllers/api/v1/repos_controller.rb
Normal file
6
app/controllers/api/v1/repos_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Api::V1::ReposController < Api::V1::BaseController
|
||||
|
||||
def index
|
||||
render_ok
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user