工程认证的权限调整

dev_haigong
cxt 6 years ago
parent 8019bc3e0b
commit f5e6b4c46a

@ -18,7 +18,7 @@ class EcsController < ApplicationController
@major_count = @major_schools.count
if @major_count == 0
if !@is_school_manager && @major_count == 0
render_403
else
if params[:search].present?

Loading…
Cancel
Save