mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
11 lines
254 B
Ruby
11 lines
254 B
Ruby
class Api::V1::ProjectsController < Api::V1::BaseController
|
|
before_action :load_project, only: [:show]
|
|
|
|
def index
|
|
render_ok
|
|
end
|
|
|
|
def show
|
|
@result_object = Api::V1::Projects::GetService.call(@project, current_user.gitea_token)
|
|
end
|
|
end |