Sha256: d86a3f5234f07193cc8caf8d8096ca08aad6afb552de58b39a10aa29c3d43cd2

Contents?: true

Size: 386 Bytes

Versions: 16

Compression:

Stored size: 386 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

16 entries across 16 versions & 1 rubygems

Version Path
katalyst-koi-4.7.3 config/initializers/extensions.rb
katalyst-koi-4.6.0 config/initializers/extensions.rb
katalyst-koi-4.5.9 config/initializers/extensions.rb
katalyst-koi-4.5.8 config/initializers/extensions.rb
katalyst-koi-4.5.7 config/initializers/extensions.rb
katalyst-koi-4.5.6 config/initializers/extensions.rb
katalyst-koi-4.5.5 config/initializers/extensions.rb
katalyst-koi-4.5.4 config/initializers/extensions.rb
katalyst-koi-4.5.3 config/initializers/extensions.rb
katalyst-koi-4.5.2 config/initializers/extensions.rb
katalyst-koi-4.5.1 config/initializers/extensions.rb
katalyst-koi-4.5.0 config/initializers/extensions.rb
katalyst-koi-4.5.0.beta.2 config/initializers/extensions.rb
katalyst-koi-4.5.0.beta.1 config/initializers/extensions.rb
katalyst-koi-4.4.1 config/initializers/extensions.rb
katalyst-koi-4.4.0 config/initializers/extensions.rb