forked from Gitlink/forgeplus
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
|