Class: SplitTester::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- SplitTester::Railtie
- Defined in:
- lib/split_tester/railtie.rb,
lib/split_tester/railtie.rb
Class Method Summary collapse
Class Method Details
.insert ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/split_tester/railtie.rb', line 14 def self.insert ActionController::Base.send(:include, SplitTester::Controller) ActionController::Caching::Fragments.send(:include, SplitTester::Caching) ActionView::Helpers::TranslationHelper.send(:include, SplitTester::TranslationHelper) SplitTester::Base.setup end |