Module: Ckeditor::Hooks::PunditAuthorization::ControllerExtension
- Defined in:
- lib/ckeditor/hooks/pundit.rb
Instance Method Summary collapse
Instance Method Details
#current_user_for_pundit ⇒ Object
37 38 39 40 41 |
# File 'lib/ckeditor/hooks/pundit.rb', line 37 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 |