diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 0944e04c9..a3e04307b 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -78,7 +78,7 @@ class RepositoriesController < ApplicationController def find_project @project = Project.find params[:id] - # render_not_found("未找到相关的仓库") unless @project + render_not_found("未找到相关的仓库") unless @project end def authorizate!