module Ckeditor::Hooks::PunditAuthorization::ControllerExtension

def current_user_for_pundit

def current_user_for_pundit
  # use ckeditor_current_user instead of default current_user so it works with
  # whatever current user method is defined with Ckeditor
  ckeditor_current_user
end