Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

This commit is contained in:
xxq250 2023-04-04 16:55:36 +08:00
commit e73925ec85
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
module Api::ProjectHelper
extend ActiveSupport::Concern
def load_project
def load_project
namespace = params[:owner]
repo = params[:repo]
@ -14,7 +14,7 @@ module Api::ProjectHelper
else
logger.info "###########project not found"
@project = nil
render_not_found and return
tip_exception(404, '您访问的页面不存在或已被删除')
end
@project
end