后端部分修改
This commit is contained in:
parent
95a4c6f703
commit
830e0194c2
|
@ -78,7 +78,7 @@ class RepositoriesController < ApplicationController
|
||||||
|
|
||||||
def find_project
|
def find_project
|
||||||
@project = Project.find params[:id]
|
@project = Project.find params[:id]
|
||||||
# render_not_found("未找到相关的仓库") unless @project
|
render_not_found("未找到相关的仓库") unless @project
|
||||||
end
|
end
|
||||||
|
|
||||||
def authorizate!
|
def authorizate!
|
||||||
|
|
Loading…
Reference in New Issue