Sha256: 6eb868f8dc08e4a40c8855c07e68b5a9a3f397850e20a0ec70073e5094081d35

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true
module Split
  class Engine < ::Rails::Engine
    initializer "split" do |app|
      if Split.configuration.include_rails_helper
        ActionController::Base.send :include, Split::Helper
        ActionController::Base.helper Split::Helper
        ActionController::Base.send :include, Split::CombinedExperimentsHelper
        ActionController::Base.helper Split::CombinedExperimentsHelper
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
split-3.3.2 lib/split/engine.rb
split-3.3.1 lib/split/engine.rb
split-3.3.0 lib/split/engine.rb
split-3.2.0 lib/split/engine.rb
split-3.1.1 lib/split/engine.rb
split-3.1.0 lib/split/engine.rb