class Ckeditor::Hooks::PunditAuthorization
This adapter is for the Pundit authorization library. You can create another adapter for different authorization behavior, just be certain it responds to each of the public methods here.
Public Class Methods
new(controller)
click to toggle source
See the authorize_with
config method for where the initialization happens.
# File lib/ckeditor/hooks/pundit.rb, line 14 def initialize(controller) @controller = controller @controller.extend ControllerExtension end