Sha256: 604444350f0d7b0ee3e8d8e08a81ed089c3f9b2d617f13a9c91cee90f576392a

Contents?: true

Size: 387 Bytes

Versions: 30

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

ActiveSupport.on_load(:action_view) do
  # Workaround for de-duplicating nested module paths for admin controllers
  # https://github.com/rails/rails/issues/50916
  ActionView::AbstractRenderer::ObjectRendering.define_method(
    :merge_prefix_into_object_path,
    Koi::Extensions::ObjectRendering.instance_method(:merge_prefix_into_object_path),
  )
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
katalyst-koi-4.15.1 config/initializers/extensions.rb
katalyst-koi-4.15.0 config/initializers/extensions.rb
katalyst-koi-4.14.3 config/initializers/extensions.rb
katalyst-koi-4.14.2 config/initializers/extensions.rb
katalyst-koi-4.14.1 config/initializers/extensions.rb
katalyst-koi-4.14.0 config/initializers/extensions.rb
katalyst-koi-4.13.2 config/initializers/extensions.rb
katalyst-koi-4.13.0 config/initializers/extensions.rb
katalyst-koi-4.12.6 config/initializers/extensions.rb
katalyst-koi-4.12.5 config/initializers/extensions.rb
katalyst-koi-4.12.4 config/initializers/extensions.rb
katalyst-koi-4.12.3 config/initializers/extensions.rb
katalyst-koi-4.12.2 config/initializers/extensions.rb
katalyst-koi-4.12.1 config/initializers/extensions.rb
katalyst-koi-4.12.0 config/initializers/extensions.rb
katalyst-koi-4.11.2 config/initializers/extensions.rb
katalyst-koi-4.11.1 config/initializers/extensions.rb
katalyst-koi-4.11.0 config/initializers/extensions.rb
katalyst-koi-4.10.3 config/initializers/extensions.rb
katalyst-koi-4.10.2 config/initializers/extensions.rb