Sha256: 8ba1b9d4f1470906ca8f63d2de9d21b9180a35a0ba86a64d4b6c85cf3aba4bf3

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

module ActiveAssets
  module ActiveExpansions
    module Reload

      def self.extended(controller)
        controller.before_filter do
          ActiveAssets::ActiveExpansions.remove_active_expansions
          ActiveAssets::ActiveExpansions.load_expansions_and_register
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_assets-1.1.3 lib/active_assets/active_expansions/reload.rb
active_assets-1.1.2 lib/active_assets/active_expansions/reload.rb
active_assets-1.1.1 lib/active_assets/active_expansions/reload.rb
active_assets-1.0.3 lib/active_assets/active_expansions/reload.rb