class Cmor::Cms::Backend::ContentBoxesController < Cmor::Core::Backend::ResourcesController::Base include Cmor::Transports::ResourcesController::ExportConcern if Cmor::Core.features?(:cmor_transports) def self.resource_class Cmor::Cms::ContentBox end def self.available_rest_actions super + [:export] end private def permitted_params params.require(:content_box).permit(:name) end end