Sha256: 3ff042762055bf046e854b7ae8fcf51b16a7f4a8d988736037e41af610048969
Contents?: true
Size: 572 Bytes
Versions: 27
Compression:
Stored size: 572 Bytes
Contents
module PageflowPaged # @api private module WithoutControllerNamespacePartialPathPrefix extend ActiveSupport::Concern included do around_action :without_controller_namespace_partial_path_prefix end private def without_controller_namespace_partial_path_prefix old_value = ActionView::Base.prefix_partial_path_with_controller_namespace ActionView::Base.prefix_partial_path_with_controller_namespace = false yield ensure ActionView::Base.prefix_partial_path_with_controller_namespace = old_value end end end
Version data entries
27 entries across 27 versions & 1 rubygems