Sha256: 37b9bbc7bc53f3ff6ac860d328437f9896c5d18a1b1938fd2267ff638ab227aa

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module HumaneRails
  class Engine < ::Rails::Engine
    isolate_namespace HumaneRails

    initializer "humane-rails.action_controller" do |app|
      ActiveSupport.on_load :action_controller do
        helper HumaneRails::FlashMessagesHelper
      end
    end

    config.generators do |g|
      g.test_framework :rspec
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
humane-rails-5.1.0 lib/humane-rails/engine.rb