dev_winse
p31729568 6 years ago
parent 32bb3c6044
commit 43d8f62f0f

@ -27,7 +27,7 @@ class Users::BaseController < ApplicationController
end
def require_auth_teacher!
return if user.admin_or_business? || observed_user.certification_teacher?
return if current_user.admin_or_business? || observed_user.certification_teacher?
render_forbidden
end

Loading…
Cancel
Save