Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop
This commit is contained in:
commit
e73925ec85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue