Sha256: 6a50bd37fa1e44c031940a2688cb3e049761bfb3bccc2ec04eac34603816e444

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

module DestroyAllViewAssigns
  class Railtie < ::Rails::Railtie
    initializer 'destroy_all_view_assigns.initialize' do
      ActiveSupport.on_load(:action_controller) do
        ::AbstractController::Rendering.send :include, DestroyAllViewAssigns::AbstractControllerRendering
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
destroy_all_view_assigns-0.1.1 lib/destroy_all_view_assigns/railtie.rb