1 2 3
ActiveSupport.on_load(:application_controller) do include ControllerExtension::Authentication end