Sha256: adb65dcf73bb3017b1ef4bd8c894a8862c7b17985f67e6d04dbf046cc655ae14

Contents?: true

Size: 296 Bytes

Versions: 6

Compression:

Stored size: 296 Bytes

Contents

require 'rails'

module Opal
  module Rails
    class Engine < ::Rails::Engine
      config.app_generators.javascript_engine :opal

      # Cache eager_load_paths now, otherwise the assets dir is added
      # and its .rb files are eagerly loaded.
      config.eager_load_paths
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
opal-rails-0.3.3 lib/opal/rails/engine.rb
opal-rails-0.3.2 lib/opal/rails/engine.rb
opal-rails-0.3.1 lib/opal/rails/engine.rb
opal-rails-0.3.0 lib/opal/rails/engine.rb
opal-rails-0.2.1 lib/opal/rails/engine.rb
opal-rails-0.2.0 lib/opal/rails/engine.rb