Class: BigBro::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- BigBro::Railtie
- Defined in:
- lib/bigbro/railtie.rb,
lib/bigbro/railtie.rb
Class Method Summary collapse
Class Method Details
.insert ⇒ Object
16 17 18 19 |
# File 'lib/bigbro/railtie.rb', line 16 def self.insert ActionView::Base.instance_eval { include BigBro::Helpers } ActiveSupport::TestCase.instance_eval { include BigBro::TestHelpers } if Rails.env.test? end |