Browse Source

Chnage

tags/v1.0.0
sylor_huang@126.com 5 years ago
parent
commit
facf7a0040
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/application_controller.rb

+ 1
- 1
app/controllers/application_controller.rb View File

@@ -750,7 +750,7 @@ class ApplicationController < ActionController::Base
@project
elsif current_user.is_a?(AnonymousUser)
logger.info "###########:This is AnonymousUser"
@project = nil if @project && !@project.is_public?
@project = nil if !@project&.is_public?
render_forbidden and return
else
logger.info "###########:project not found"


Loading…
Cancel
Save