|
|
|
@ -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
|
|
|
|
|