module Ckeditor::Hooks::PunditAuthorization::ControllerExtension
Public Instance Methods
current_user_for_pundit()
click to toggle source
# File lib/ckeditor/hooks/pundit.rb, line 36 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