Sha256: a8ab15d39333b9f07dd92785ab72ac025b68a6fa8eba3b1cc093a8d62e76ef99
Contents?: true
Size: 545 Bytes
Versions: 16
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true ActiveElement::Engine.routes.draw do ActiveElement.eager_load_controllers ActiveElement::ApplicationController.descendants.map do |descendant| post "#{descendant.controller_path}/_active_element_text_search", controller: descendant.controller_path, action: '_active_element_text_search' # Permissions for text search are managed by ActiveElement::Components::TextSearch::Authorization descendant.active_element.permit_action :_active_element_text_search, always: true end end
Version data entries
16 entries across 16 versions & 1 rubygems